Q52
What will be the output of the following Java code? import java.util.*; class date public static void main(String args[]) Date obj = new Date(); System.out.print(obj);
A.
Prints Present Date
B.
Runtime Error
C.
Any Garbage Value
D.
Prints Present Time & Date
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board