Java Object Oriented
All of the data types (int , long , double , boolean ,......) not Object Oriented but there
exist corresponding data types Object Oriented (Integer , Long ,Double , Boolean , ...)
so I see Java 100% Object Oriented
--- On Mon, 1/4/10, David Kramer <david@thekramers.
From: David Kramer <david@thekramers.
Subject: Re: [Java] why java is not fully object oriented ???
To: Java_Official@
Date: Monday, January 4, 2010, 8:31 PM
Chetan Patel wrote:
>
>
> Hello,
>
> I have heared that java is not 100% object Oriented but which the
> features of java breaks the rules of Object Oriented programming ?
> Can anybody give me answer. ?
It's not that Java breaks the rules of object oriented programming, but
not all data types in Java are object oriented. All of the data types
that begin with a lower-case letter (ints, longs, double, boolean, etc)
are not objects.
Whether this is bad or good is a matter of opinion. Objects take up
more space and are much more expensive to create, serialize, and destroy
than their non-object counterparts.
[Non-text portions of this message have been removed]
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
No comments:
Post a Comment