Java violates few objected oriented concepts. Can you
explain in what way?
Answer Posted / 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 |
Post New Answer View All Answers
Which is the class in java?
What is the default value of local and global variables?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What is the right data type to represent a price in java?
Explain wait() method of object class ?
Difference between error and exception
Explain about main thread in java?
What are the application of stack?
What is the difference between keyword and identifier?
What is a modifier?
What is static import?
Define max and min heap, also the search time of heap.
What is http client in java?
Why main() method is public, static and void in java ?
Can we use string in switch case in java?