Computer Applications
Predict the output of the following Java program snippet:
System.out.println("India got independence");
System.out.println("on");
System.out.println("15th August,1947");
Java
Java Intro
136 Likes
Answer
India got independence
on
15th August,1947
Answered By
79 Likes
Related Questions
Predict the output of the following Java program snippet:
System.out.print("The factorial of 5 is"); System.out.println("120");
Predict the output of the following Java program snippet:
System.out.println("My name is "); System.out.print("Kunal Kishore"); System.out.println("I am a student of Class X");
Predict the output of the following Java program snippet:
System.out.println("This is my first Java program"); System.out.print("Display the message:"); System.out.print("Have fun!!!");