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...

Can you write Java code for declaration of multiple
inheritance in Java ?

Answer Posted / raghu

Hi yes multiple inheritance is possible in Java through
interface.

class A extends B implements interface 1....n

interface a extends interface b.... n.

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a class a subclass of itself?

1311


Explain what is synchronization?

1144


Define aop(assepct oriented programing)?

1247


What are the different approaches to represent an inheritance hierarchy?

1113


Do we need to override service() method

1784


Are we allowed to change the transaction isolation property in middle of a transaction?

1076


what is handle?

2419


When a thread blocks on i/o, what state does it enter?

1153


What is local interface. How values will be passed?

1086


What are the services in RMI ?

2443


What is chat area? Explain.

1063


difference between  ejb,struts,hibernate,spring and jsp

2919


What is prototype?

1254


What is the purpose of the notify() method?

1132


Describe, in general, how java's garbage collector works?

1082