Solution : -
Java is NOT a purely Object Oriented Language because given following step below : -
1. Not all pre-defined types in Java (primitives) are objects.
2. Static variables can be used without creating an instance of an object.
3. Overriding a static method / variable isn’t possible.
4. Operations on objects should only be done through methods
Java is NOT a purely Object Oriented Language because given following step below : -
1. Not all pre-defined types in Java (primitives) are objects.
2. Static variables can be used without creating an instance of an object.
3. Overriding a static method / variable isn’t possible.
4. Operations on objects should only be done through methods
exposed by the object which isn’t entirely true in Java .
Example : - “Foo” + “Bar”
No comments:
Post a Comment