Computer Applications
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!!!");
Java
Java Intro
81 Likes
Answer
This is my first Java program
Display the message:Have fun!!!
Answered By
50 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("India got independence"); System.out.println("on"); System.out.println("15th August,1947");