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 / basavaraj

s....u can do....

i think u can do by..

writing innerclass n impementing interface...

class A extends B
{
class test2{
}

}


here, test2 is innerclass which can inherits the properies
of A as well as B...

Is This Answer Correct ?    5 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to show synchronization?

1138


What event results from the clicking of a button?

1239


Java is fully object oriented languages or not?

987


What are the different methods of identifying an object?

1060


What is an abstract method?

1055


Why use POJO when I can use hashmap

2638


What is JTS?

2365


What method is invoked to cause an object to begin executing as a separate thread?

1032


How to pass parameters in RMI?

2249


What is abstract schema?

1017


What is a clone?

1051


What is mdb and what is the special feature of that?

1053


Which containers use a border layout as their default layout?

1135


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1139


What is in-memory replication?

1051