my dog learned polymorphism*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic
Author

is Date a datatype

Diwakar Chittora
Greenhorn

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 ..

-----
Diwakar
SCJP 1.4
Kaydell Leavitt
Ranch Hand

Joined: Nov 18, 2006
Posts: 688

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

Joined: Oct 14, 2002
Posts: 8764
    
    5
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: http://aspose.com/file-tools
 
subject: is Date a datatype
 
Similar Threads
Converting Date between Java and DB
Hibernate Type for Oracle Interval Datatype
to find the datatype of given string in runtime
Date datatype in Java
is Date a datatype ????