1

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

  • D

    12