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

Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1140


What is meant by null and void?

1032


Is 0 an even number?

1027


What is difference between char array and string?

1178


Can you extend main method in java?

1251


Explain about static imports in java?

1045


Why is it called a string?

1046


What is preflight request?

1090


State the significance of public, private, protected class?

1154


Can we call the constructor of a class more than once for an object?

1137


What are the changes in java.io in java 8 ?

1079


What is exception handling in java?

1079


What is string in java?

1070


Describe the process as to how substring() methodology mechanisms in java.

1199


How do you classify Dialog Box?

1176