Why Java isn't 100% pure oop?
Ramesh Kumar
While Java isn't a 100% pure OO language;
it is object-biased--it certainly isn't a MultiParadigmLanguage?.
At any rate, the list of Java's sins extends well beyond it not being an object.
Pure Object Oriented is a technique of programation that use principally these therms:
encapsulation
polymorphism
dynamic-binding.
If you understand Object Oriented means (and you are not new to java), you can understand what these terms means.
I'll tell you only that java can "extends" and "implements" object;
Java has private, public, protected (not friend) "flag" for declaring and using variables and objects;
In java you can declare 2 (or more) methods with the same name and the
same number of parameters, but the parameters must be of different kind.
And so on. (no virtual fun & pointers)
The peculiar specification of java is his bytecode that could be executed over different machine on which running a JVM.
Operator overloading, Multiple inheritance are not supported
Mithun (Arun)
Quick Links:
Do you have
a Java Question?
Best Regards,
Java Programming Hints and Tips
All the site contents are Copyright © www.sap-img.com
and the content authors. All rights reserved.
All product names are trademarks of their respective
companies.
The site www.sap-img.com is not affiliated with or endorsed
by any company listed at this site.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
The content on this site may not be reproduced
or redistributed without the express written permission of
www.sap-img.com or the content authors.