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

Is java supports multiple inheritance? explain?

Answer Posted / vivek dubey

NO java supports Multilevel Inheritance and
not the Multiple Inheritance

Multilevel Inheritance

class A{
}

class B extends A{
}

class c extends B{
}


Multiple Inheritance

class c extends A,B{ // nOt supported
}

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If a method is declared as protected, where may the method be accessed?

966


Is finalize() similar to a destructor?

984


Implement two stacks using a single array.

1010


How to sort elements in a parallel array in java?

848


how to split string in java?

1154


What all access modifiers are allowed for top class ?

1147


Can constructor return value?

909


What are the rules for variable declaration?

914


How many types of flags are there?

963


Can list contain null in java?

1039


What is the difference between @before and @beforeclass annotation?

1028


What is compareto?

978


Why stringbuilder is not thread safe in java?

973


what is the final keyword denotes in java?

1030


Does sprintf add a null terminator?

1046