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
What is an argument java?
What is the purpose of encapsulation?
What is a function in java?
How do listeners work?
How do you create a method in java?
How many classes can any class inherit java?
Which of the following classes will have more memory allocated?
What do you mean by buffering?
How does a for loop work java?
What is the use of java?
What is widening and narrowing in java? Discuss with an example.
What is boolean logic?
What is difference between hashset and hashmap in java?
What is scope of a variable?
What is ide with example?