MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?public class output { public static void main(String args[]) { StringBuffer s1 = new StringBuffer("Interview"); s1.setCharAt(8,'W'); System.out.println(s1); } } |
| A. | Interview |
| B. | Mania |
| C. | Compilation Error |
| D. | IntervieW |
| E. | Runtime Error |
| Answer» E. Runtime Error | |