The ____ method returns the length of a String.
A. getSize()
B. getLength()
C. size()
D. length()
Answer: D
Computer Science & Information Technology
You might also like to view...
An expression tested by an if statement must evaluate to
a. 0 or 1 b. +1 or -1 c. true or false d. t or f
Computer Science & Information Technology
In the following statement, what data type must recField be?
``` str.getChars(5, 10, recField, 0); ``` a. int b. char[] c. char d .String
Computer Science & Information Technology