Is Java is 100% pure OOPS? Explain?

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


Please Help Members By Posting Answers For Below Questions

What is an argument java?

527


What is the purpose of encapsulation?

534


What is a function in java?

563


How do listeners work?

503


How do you create a method in java?

536






How many classes can any class inherit java?

504


Which of the following classes will have more memory allocated?

577


What do you mean by buffering?

548


How does a for loop work java?

536


What is the use of java?

524


What is widening and narrowing in java? Discuss with an example.

554


What is boolean logic?

559


What is difference between hashset and hashmap in java?

460


What is scope of a variable?

597


What is ide with example?

540