KnowledgeBoat Logo

Output Questions for Class 10 ICSE 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

77 Likes

Answer

This is my first Java program
Display the message:Have fun!!!

Answered By

48 Likes