Why Java is not purely object oriented?
Answer Posted / kamal kankarwal
We can call a lang OOP if it supports three characteristics
1. Encapsulation
2. Polymorphism
3. Inheritence
For calling a lang pure(or 100%)OOP all the component must
be in OOP framework.
But in Java data types such as int char float double etc
are also defined as both in Object and Premitive form.
eg. int i=5;// Violates Pure OOP framework
Integer in=new Integer(5);
However we can not call it Pure rather it support OOP
framework in a TRUE sence. Hence we can call it TRUE OOP
lang.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
Is string a class in java?
What is a cup of java?
What is field name?
What is function and method in java?
Can we call the run() method instead of start()?
Do extraneous variables affect validity?
Define locale.
What is skeleton and stub? What is the purpose of those?
How do you check if two given string are anagrams?
Is it possible to write a regular expression to check if string is a number?
What are the concepts of 'OOPS'?
Explain java coding standards for variables ?
Is heap stored in ram?
Difference between static and dynamic class loading.