MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?public class Result { public static void main(String args[]) { StringBuffer strbuf = new StringBuffer("Interview Mania"); StringBuffer strbuf0 = strbuf.reverse(); System.out.println(strbuf0); } } |
| A. | Interview Mania |
| B. | ainaM weivretnI |
| C. | weivretnI |
| D. | ainaM |
| E. | None of these |
| Answer» C. weivretnI | |