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

all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.

Answer Posted / aruna raman

Yes-Java does not support multiple inheritence but supports
Multi level inheritence.
A class can extends only one class(which also extends from
object class), So this a multi level inheritance not
multiple inheritence.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is treeset in java?

1004


What is meant by object oriented programming – oop?

990


Do I need java on my computer?

982


What are the differences between string, stringbuffer and stringbuilder?

1032


What is anagram in java?

933


Can a static class have a constructor?

1004


Name some classes present in java.util.regex package.

1032


What is the primitive type byte?

1006


Can we call the run() method instead of start()?

1043


Write a program in java to create a doubly linked list containing n nodes.

972


What is set and get methods in java?

978


What are the main concepts of oops in java?

1748


What is sizeof () operator?

978


Explain list interface?

962


Explain the available thread states in a high-level?

964