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

Explain the difference between a Thread and a Process.

788


What is a parameter in matrices?

771


Explain the private field modifier?

852


How much ram can a 64 bit processor theoretically?

684


What is pojo class in java?

735


What is hotjava?

752


What is prime number in java?

765


Is 9 a prime number?

663


What is purpose of find feature?

853


Can we overload destructor in java?

772


What is a singleton factory?

737


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1106


What do you mean by inner class in java? Explain

823


What is meant by data hiding/encapsulation?

845


What is palindrome in java?

751