Loading...
Write the output for the following: String s1 = "Life is Beautiful"; System.out.println ("Earth" + s1.substring(4)); System.out.println( s1.endsWith("L") );
Write the output of the following String method: String x= “ talent” ; String y=”matrix” ; System.out.print(x.substring(3).concat(y.substring(3))) ;
© 2026 PadhAiPro. This question is provided for educational purposes.