Java violates few objected oriented concepts. Can you
explain in what way?

Answers were Sorted based on User's Feedback



Java violates few objected oriented concepts. Can you explain in what way?..

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

Java violates few objected oriented concepts. Can you explain in what way?..

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

Java violates few objected oriented concepts. Can you explain in what way?..

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

Post New Answer

More Core Java Interview Questions

What is meant by class and object in java?

0 Answers  


What is the integer of 16?

0 Answers  


whats the life cycle of jsp

15 Answers   Satyam,


What is difference between next () and nextline () in java?

0 Answers  


Which is a valid identifier?

0 Answers  






What is Unicast and Multicast object? Where we will use?

1 Answers   Scope International,


who can i handle multiple client in RMI

0 Answers  


Explain about static nested classes in java?

0 Answers  


What is skeleton and stub?

0 Answers  


Explain the use of shift operator in java. Can you give some examples?

0 Answers  


explain me with a code snippet about the generation and handling of null point exceptions.

1 Answers  


public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } }

7 Answers   iGate,


Categories