

McqMate
Q. |
Consider the following code snippet String river = new String(“Columbia”); System.out.println(river.length()); What is printed? |
A. | 6 |
B. | 7 |
C. | 8 |
D. | Columbia |
Answer» C. 8 |
View all MCQs in
Java ProgrammingNo comments yet