This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 8815
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