Vidyalelo
Java Programming · Q75

Miscellaneous Java

Programming · Java Programming · question 75

Q75

What will be the output of the following Java program? class string_class public static void main(String args[]) String obj = "I LIKE JAVA"; System.out.println(obj.length());

A.
9
B.
10
C.
11
Answer
D.
12

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board