Computer Science, asked by gipsyjudu, 8 months ago

Predict the output:
System.out.println("This is my first Java program");
System.out.println("Display the message");
System.out.println("Have a fun!!!");

Answers

Answered by shloksinha2
2

Answer:

Since u are using println, the outputs will be on different line.

OUTPUT

This is my first Java program

Display the message

Have a fun!!!

Similar questions