Computer Applications
Predict the output of the following Java program snippet:
System.out.print("The factorial of 5 is");
System.out.println("120");
Java
Java Intro
92 Likes
Answer
The factorial of 5 is120
Answered By
58 Likes
Related Questions
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!!!");
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");