MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program?public class output { public static void main(String args[]) { String str1 = "Intervzew Manza"; String str2 = str1.replace('z','i'); System.out.println(str2); } } |
| A. | Intervzew |
| B. | Manza |
| C. | Interview Mania |
| D. | IntervzewManza |
| E. | None of these |
| Answer» D. IntervzewManza | |