4. Write the output for the following:
1. System.out.print ("Good"); System.out.println("Morning”);
2. System.out.println ("Have a"); System.out.println("nice day");
Answers
Answered by
4
Answer:
1. Good Morning
2. Have a
nice day
Explanation:
Here in print method, prints text and cursor remains in the same line
In println after printing text ,cursor jumps to newline.
Answered by
1
Answer:
1) Good
2) Morning
3) Have a
4) nice day
Explanation:
PLEASE MARK ME AS BRAINLIEST!!!
Similar questions