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 a program to input a sentence and convert it into uppercase and display each word in a separate line. Example: Input : India is my country Output : INDIA IS MY COUNTRY
© 2026 PadhAiPro. This question is provided for educational purposes.