

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class Result { public static void main(String args[]) { char chars; chars = "hello".charAt(0); System.out.println(chars); } } |
A. | h |
B. | e |
C. | l |
D. | o |
E. | None of these |
Answer» B. e | |