File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes is Date a datatype Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic

is Date a datatype

Diwakar Chittora

Joined: Aug 20, 2007
Posts: 23
hi all,
i have a small query ,whether we can consider date as a datatype or not ... well i know it is not consider as datatype by SUN but as we consider String as a Datatype which is also a class then why not Date ? ..
can anyone can share his/her knowledge on this ..

SCJP 1.4
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 689

I believe that all classes and interfaces are data types.
Bert Bates

Joined: Oct 14, 2002
Posts: 8898
I'm closing this duplicate thread and my comment would be for you to explain the context of the term "datatype" more completely in the other thread.

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
I agree. Here's the link:
subject: is Date a datatype
It's not a secret anymore!