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
Can we have this () and super () together?
What are the types of strings?
Write code of any action class?
Discuss 2D arrays.
What is immutable in java?
What is void keyword?
What is backdrop?
What is prefix of a string?
What is "this" keyword in java? Explain
Write a factorial program using recursion in java?
Why do we use bufferedreader?
What is the use of :: in java?
What is null object in java?
What is the use of protected in java?
How do you define a variable?