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 thread safe in java?

731


Explain about the performance aspects of core java?

769


Can we declare the main method of our class as private?

764


What is externalizable interface?

819


What is the program development process?

743


What is final keyword?

867


What is the use of accept () method in java?

811


What is a method in java?

724


List some java keywords sun like c, c + + keywords?

792


What technique can be employed to compare two strings?

791


Tell me the Importent classes in net package?

1763


What is the difference between variable declaration and variable initialization?

739


Can a class have multiple superclasses?

781


Define how objects are stored in java?

786


What is finally in Java?

802