1.

What is the output of this program?public class Result { public static void main(String args[]) { String str0 = " Interview mania "; String str1 = str0.trim(); System.out.println(" ""+str1+" ""); } }

A. " Interview mania "
B. "Interview mania"
C. Interview mania
D. Interviewmania
E. None of these
Answer» C. Interview mania


Discussion

No Comment Found

Related MCQs