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

What is ioc concept?

1190


Is the session factory thread safe?

1159


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4250


What restrictions are placed on the values of each case of a switch statement?

1000


Are there books about seam?

1079


what is the use of State Factories?

2378


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1141


Define the remote object implementation?

2489


How is a java object message delivered to a non-java client?

1037


What state does a thread enter when it terminates its processing?

1056


What is the diffrence between a local-tx-datasource and a xa-datasource?

1032


Explain the difference between object state and behavior?

1027


What is the purpose of the wait() method?

1176


What is the difference between ear, jar and war file?

1115


Java is fully object oriented languages or not?

984