Is Java is 100% pure OOPS? Explain?
Answers were Sorted based on User's Feedback
Answer / ganapathy
it is not pure because java does not support multiple inheritance
it supports primitive data type such as int,byte,long etc to be used,which r not objects.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / ji
Java is 100% pure OOP,,b primitive data
types are treated as object .this concept is called wrapper
class
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rupali
no. java is not 100% pure OOPS.Bcz:
1). it does not support multiple inheritance and pointers
which are the concepts of oops.
2). it provides primitive datatypes which are not treated
as objects.
3). Bcz of static keyword.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kiran
not support pointers,multiple inheritance .
it allows primitive data types ...
it's supports interface
It allows static methods to call without creating the
instance
99.65% opp's
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sumit
NO, java is not 100% oops because
1) it doesn't support directly multiple inheritance(using interface for multiple inheritance)
2) we cannot overload operators.
3) it allows static methods to cal without creating the instance.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh hurakadli
Java is not pure Object Oriented Programming
language,Because it supports primitive data types.so java is
not pure Object Oriented Programming language.Smalltalk is
the only language which is pure Object Oriented Programming
language.Which languages does supports primitive data types
those are not pure Object Oriented Programming language's.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sathish kumar.s
1.In java everthing is not an object.
2.because we are using the pritive data types to make a task
(program).
E.g, in addition of numbers, we are declaring the data type
as int, not an object. so it's not 100% pure OOP's.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / prashanth
java is not 100% oops because it is supporting the primitive data types
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / priyanka
Java is not 100% pure oops lang. as it doesnt support multiple inheritance cconcept.....but also it supports multiple inheritance through interface...but interface is not the part of oops.....
Is This Answer Correct ? | 0 Yes | 0 No |
what is the use of thread?Justify it by project point of view
What are kinds of processors?
Why are data types important?
How can we create a thread in java?
What if constructor is protected in java?
How to create a thread in java?
What are the advantages of assembly language?
What is equals method in java?
What is the purpose of a statement block?
How to make class immutable
Which collection allows duplicate values in java?
What is formatted output?