Java is Not 100% OOPs? Why?
Printable View
Java is Not 100% OOPs? Why?
Hi,
As u know, Everything in java is not considered as a Object, there are primitive data types available.
eg: for numbers we are using the int which is not a object type. (only Integer is object type).
Since everything in Java is not objects, it not considered as a Pure Object oriented language.
I think the above is the one of the reason that i know, there can be other reasons too.
Regards,
Elango
Which language is supports primitive data type that not a oops. java supports primitive data types. So java is not pure oops.
Also in our geekinterview forum we discussed about this. Here is the reference URL.
[URL="http://www.geekinterview.com/question_details/25595"]Why java is not 100% object oriented?[/URL]
Hi,
Java is Object oriented But not 100%. Following are the reasons.
1) Everything in java is not Objects. eg: primitive datatypes.
3) All features of OOP lanuage is not fully supported by java. eg: Multiple Inheritance. Operator Overloading etc.
:)[EMAIL="ptmidhun@gmail.com"]ptmidhun@gmail.com[/EMAIL]
[QUOTE=kaliswaranbsc;19716]Java is Not 100% OOPs? Why?[/QUOTE]
only object is reference type
the variable is in value type
EX:
int a;(value type)
class test= new test()(reference type)
awt is machine dependent
[B]Hello!....[/B]
hi, java is pure oops language.because it support primitive data type and also data type using new operator.it also support multiple inheritance by using interface.
[QUOTE=kaliswaranbsc;19716]Java is Not 100% OOPs? Why?[/QUOTE]
because it supports primitive data types. so java is 100% not oops..