Is java is a fully object object oriented language?
Answers were Sorted based on User's Feedback
Answer / kailash karki
let me explain u all.
java is 100% oops. dont look at primitives cause java also created wrapper classes like Integer, Float etc. wrapper class is only created to remove this ambiguity. otherwise u tell me where u'l use Wrapper classes.
Integer a=new Integer(1);
Integer b=new Integer(2);
int c= a+b;
run and see, the a and b are two object and can be added without any error. cause internally all r treated as a object.(unboxing) . so no issue, java is purely 100% OOP
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mca parekh
No From My Point Of view I say That Java is Not Fully object Oriented Lang But It's Semi Object object Oriented Lang. Coz
It support Primitive Datatypes Which is not Objects...
And some of U Belive that it not support Operator Overloading that's why it's not OOP Lang. but It's not true coz..
It support Polymorphism by Function overloading but not through Operator Overloading coz through Operator overloading programmer can change the entire Meaning of the Operator so.... Java not Support Operator Overloading..
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / b.santhosh kumar
Java is not a fully object oriented language because of the
following reasons:
1)It uses primitive data type like int,float which are not
object
2)It does not support operator overloading multiple inheritance.
3)It allows static methods to call without creating the
instance.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mani
NO...
because it doesn't permit operator overloading.
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / nibedit
Well we cannot say java is a fully oop language becoz'
1.java uses premitive data type like int,float etc though
it has Wrapper classes for these data types.
2.it dose not support operator overloading except for "+"
to some extent(for concatanation).
3.it dose not support inheritance fully..that is it
dose not support multiple inheritance.
Also it wrong to say that we can achieve that by
interfaces. becoz' interfaces are not made for
inheritance. they are made for polymorphism.The very
defination of inheritance says that it is use for code
reusability.but interface dose not have any body with code.
we can use them as we like by giving our own implementation.
this is nothing but polymorphism concept.
so java is not fully oopl rather we can say that it is a
object based prog. language.
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / dhawal
java is not fully object oriented but puerly object oriented
languge.
Is This Answer Correct ? | 0 Yes | 2 No |
Answer / sravanthi
No,java is not fully Object oriented language.
b coz java does not supports pointers and multiple
inheritance concepts.
thanks
Is This Answer Correct ? | 2 Yes | 5 No |
Answer / manju
HI friends,
Java is not 100% OOP bcoz the execution of the prog
starts with out creating an object for the class we execute.
So i feel start of the java prog execution doesnt satisfy
the 100%oop concept.
Correct me friends if i am wrong.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / srinu
java is not fully object oriented language because it will
not platform independent in language
example: when java project will not do in c++ so it is
platformdependent
Is This Answer Correct ? | 6 Yes | 47 No |
Is empty .java file name a valid source file name?
What do you mean by a JVM?
Can an unreachable object become reachable again?
Which number is denoted by leading 0x or 0x in java?
How many types of equations are there?
What are anonymous inner classes?
When does Exception occurs?
Explain importance of throws keyword in java?
Can a class have an interface?
What is the importance of hashcode() and equals() methods?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?
Why destructor is not used in java?