

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class Result { public static void main(String args[]) { String ch = "hello i love interview mania"; boolean var0; var0 = ch.startsWith("hello"); System.out.println(var0); } } |
A. | Hello |
B. | hello |
C. | false |
D. | true |
E. | None of these |
Answer» E. None of these | |