Java violates few objected oriented concepts. Can you
explain in what way?
Answers were Sorted based on User's Feedback
Answer / rohan
Java is not a pure object oriented language that's true
because when we use int,float,char we need not define any
class for that their is a class called raper classes which
are by default give this made the java to violates some
object oriented concept...
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / anjani kumar jha
There are only three language in the world which is
pure-object oriented
a)effilmore
b)Small-Talk
c)Ruby
So therefore for pure object oriented programming there are
six concept
a)Encapsulation
b)Polymorphism
c)Inheritance
d)Abstraction
//These two e) and f) are not supported by java and hence
java is not //pure object programming language-----it is
only true //object oriented programming language.....
e)There should not be primitive
f)And there should not be any boudation on classes.
Thanks and Regards
Anjani Kumar Jha
09623154095
CDAC,PUNE
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / pushpa
Multiple Inheritence
even if it is supported through the interfaces
it's not possible through basic object oriented concepts
| Is This Answer Correct ? | 4 Yes | 3 No |
What happens when a class is made static like if a field or member is made static it becomes class variable and is shared by all the object of the class?
what is meant wrapper classes?
can we have function for truncating the sign as like abs in oracle.
System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...
What is java jit compilers?
Can we write multiple catch blocks under single try block?
Where are the card layouts used?
What is the same as procedures?
What is the difference between heap and stack memory?
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
why java does not support unsigned keyword?
what is features of jdk 1.5?
2 Answers Accenture, Satyam, TCS,