Why java is not a pure object oriented language?
Answer Posted / dhruba guha
Java is not truely object orient Progrmaing Language ebecoz
1) in OOPS everything has to be Object but java supports
Primitive data type.
2) Java does not support multiple inheritance directly,
through help of interface java support multiple inheritance.
3) java does not esupport circular inheritance.
4) in OOPS everything need to be store heap but java use 5
type of memory heap, stack, native stack, register, code
segment.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why is string builder not thread safe?
If an object is garbage collected, can it become reachable again?
What are the various access specifiers in java?
What is are packages?
When do we use synchronized blocks and advantages of using synchronized blocks?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
Does java have extension methods?
Can a java program have 2 main methods?
How do you empty a list in java?
What are the changes in java.io in java 8 ?
What is the difference between final, finally and finalize()?
How do you declare an empty string?
When will you define a method as static in Java?
What is the synonym of string?
How we can execute any code even before main method?