Vidyalelo
Java Programming · Q2

Input Output

Programming · Java Programming · question 2

Q2

What is the purpose of the `System.out.println()` method in Java?

A.
It performs mathematical operations
B.
It writes data to a file
C.
It reads data from the keyboard
D.
It prints data to the standard output stream followed by a newline
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board