Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why do we use interface in java?

Answer Posted / navinice

We use Interfaces in java because JAVA Doesn't support
multiple inheritance. Thats why no any class can extend more
than one class in JAVA.. But through Interfaces we can
implement more than one interfaces and use there methods in
base class.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameter example?

1019


Can a main method be overloaded?

1020


State two differences between C and Java.

1333


What is the static import?

1104


Is java se open source?

1030


Can we sort set in java?

951


How to use arraylist in java netbeans?

1042


can java object be locked down for exclusive use by a given thread? : Java thread

1098


Can we have multiple public classes in a java source file?

1189


What is meant by method overriding?

1111


What is a literal coding?

1025


What is difference between stringbuffer and string?

960


What is a Transient Object?

1085


What is a condition in java?

1006


What does pointer mean?

1055