Which of these compile when replacing line 8?
Choose all that apply
7: char[]c = new char[2]; 8: // INSERT CODE HERE
capacity()
length()
size()
Click to view the answer
C.
Arrays define a property called length.
It is not a method, so parentheses are not allowed.