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 you create an object of an abstract class?
What are the difference between composition and inheritance in java?
State the main difference between c++ and java?
What is string [] java?
What is lazy initialization in java?
What are the important methods of java exception class?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
Explain constructors and types of constructors in java.
How to obtain a performance profile of java program
What is string value?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Why we do exception handling in java and how many types of exceptions are there?
What is ternary operator?
Are arrays passed by reference in java?
Is assembly language a low level language?