MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following program?public class Test{public static void main(String args[]){String s1 = "java";String s2 = "java";System.out.println(s1.equals(s2));System.out.println(s1 == s2);}} |
| A. | alse true |
| B. | alse false |
| C. | rue false |
| D. | rue true |
| Answer» E. | |