Advertisements
Advertisements
Question
Predict the output of the following snippet:
System.out.print("The factorial of 5 is");
System.out.println("120")
One Line Answer
Solution
The factorial of 5 is 120
shaalaa.com
Is there an error in this question or solution?