1.

What is the output of this program? class output { public static void main(String args[]) { String c = "Hello i love java"; boolean var; var = c.startsWith("hello"); System.out.println(var); } }

A. true
B. false
C. 0
D. 1
Answer» C. 0


Discussion

No Comment Found