This is the correct answer because there are 9 methods defined in the Date class. These are:
1) getHours()
2) getMinutes()
3) getSeconds()
4) setHours(int i)
5) setMinutes(int i)
6) setSeconds(int i)
7) setTime(long date)
8) toString():
9) valueOf(String s)