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

Explain ioc concept?

1074


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1778


Which class is the immediate superclass of the menucomponent class?

1151


What is chat area? Explain.

962


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1004


What is the purpose of the notifyall() method?

988


Can we sent objects using Sockets?

1084


Is it possible to stop the execution of a method before completion in a sessionbean?

1029


What is a class loader? What are the different class loaders used by jvm?

1054


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

997


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2171


Is a class a subclass of itself?

1130


What classes of exceptions may be caught by a catch clause?

978


Can I use multiple html form elements with the same name?

1000


how do you Handle Front End Application data against DB with example?

1918