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
How to change the priority of thread or how to set priority of thread?
What are static blocks in java ?
What is jit and its use?
what is function overloading in java?
What is difference between next () and nextline () in java?
What is the biggest integer?
What is the difference between sop and work instruction?
What does system.gc() and runtime.gc() methods do?
Does java support multiple inheritances?
What is the use of singleton?
What is definition and declaration?
Define array. Tell me about 2-D array.
What is classes in java?
What is the difference between stringbuffer and stringbuilder class?
What is the range of a character variable?