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
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board