Answer Posted / sadhu charan paikaray,sit,oris
Java is a OOP language and it is not a pure Object Based
Programming Language
Many languages are Object Oriented. There are seven
qualities to be satisfied for a programming language to be
pure Object Oriented. They are:
1. Encapsulation/Data Hiding
2. Inheritance
3. Polymorphism
4. Abstraction
5. All predifined types are objects
6. All operations are performed by sending messages to
objects
7. All user defined types are objects.
JAVA is not because it supports Primitive datatype such as
int, byte, long... etc, to be used, which are not objects.
Contrast with a pure OOP language like Smalltalk, where
there are no primitive types, and boolean, int and methods
are all objects.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between a Thread and a Process.
What is a parameter in matrices?
Explain the private field modifier?
How much ram can a 64 bit processor theoretically?
What is pojo class in java?
What is hotjava?
What is prime number in java?
Is 9 a prime number?
What is purpose of find feature?
Can we overload destructor in java?
What is a singleton factory?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
What do you mean by inner class in java? Explain
What is meant by data hiding/encapsulation?
What is palindrome in java?