Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Thomas Evans   on Aug 15 In Java Category.

  
Question Answered By: Adanalie Garcia   on Aug 15

Here I am giving two reasons ----

1. Java supports primitive datatypes like byte,int,char, float,double etc.. In
the case of these primitive datatypes we don't need to creat any object of their
respective classes (e.g Integer,Float,Double etc), we can directly use int x = 0
; float y= 0.0f ; etc. So this goes against the concept of "encapsulation" which
is one of the basic features of OOPS.

2. Java does not support multiple inheritence.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on java query Or get search suggestion and latest updates.


Tagged: