

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class string_class_Example { public static void main(String args[]) { String obj = "I LIKE INTERVIEW MANIA"; System.out.println(obj.length()); } } |
A. | 12 |
B. | 22 |
C. | 32 |
D. | 42 |
E. | 52 |
Answer» C. 32 | |