Is Java is 100% pure OOPS? Explain?
Answers were Sorted based on User's Feedback
Answer / shalini
java is not 100%pure oops
because java 99%is pure but 1% is use primitive datatypes
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran
Because directly it doenn't support multiple inheritence
and doesn't support pointers
Is This Answer Correct ? | 4 Yes | 5 No |
Answer / k.k
NO Java is not purely Oops bcaz of
1) AWT makes java code dependent..
AWT Uses Windows component which means java is depending
on OS components which makes it dependant
BUT Swings are introduce to make it independant
2) Primitive data type such as int makes java dependant
But Wrapper classes such as Integer make it independant
Becaz of abov 2 reasons java is dependant....
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / kanchan bangar
java is not 100% oops because of only reason it has static
keyword,
according to oops and in real world we need an
object to perform a function but in java using class name
without an object we can perform function or call a method
this violates oops and real world reflection..
Is This Answer Correct ? | 1 Yes | 4 No |
Answer / swati(student)
java is not pure oop based b'coz it does not support
multiple inheritance & pointers which is supported by oop.
Is This Answer Correct ? | 1 Yes | 11 No |
Answer / rahul
Java is not 100% oops because it has no concepts like
pointers.
Is This Answer Correct ? | 5 Yes | 48 No |
Answer / j2ee student
YES , java is a pure OOPS(Object Oriented Programming)as in
JAVA all the app can be perform under classes only which
supports
encapsulation,polymorphism,inheritance,interfaces,abstractio
n etc.
Is This Answer Correct ? | 20 Yes | 78 No |
Can a vector contain heterogenous objects?
How would overload a function based on return type?
What is flush () in java?
7) Suppose there is Student class like class student { int age; string name; } We want to store these objects in a HashMap. Do we need to override any methods in Student class? If any which ones and why? what if i just override equals or just hashcode? what will be the results in both the cases?
What are daemon Threads in java?
Can we make a constructor final?
how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
What is the differences between c++ and java? Explain
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What do you understand by weak reference?
Does apple use java?
What is numel matlab?