

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class output { public static void main(String args[]) { StringBuffer c = new StringBuffer("Hello"); System.out.println(c.length()); } } |
A. | 4 |
B. | 5 |
C. | 6 |
D. | 7 |
Answer» C. 6 | |