Vidyalelo
Java Programming · Q174

Java Collections Framework

Programming · Java Programming · question 174

Q174

Which of these is a method of class Date which is used to search whether object contains a date before the specified date?

A.
after()
B.
contains()
C.
before()
Answer
D.
compareTo()

Answer: Option C

Solution

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