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 / d.suganya

Java supports Multiple Inheritence using Interface concept
by providing common implementations , and more important to
observe is every class that we use in java is inherited by
Object class, so even though we can extend from other
classes, This clearly shows that JAVA supports Multiple
Inheritence..(Sharandesai007@gmail.com)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of inner classes ?

1037


How many types of threads are there in java?

1047


What is visibility mode?

957


How do you empty a list in java?

965


What are the four pillars of java?

1204


What is private static class in java?

1009


What is a variable and constant?

995


What is static import in java?

977


How will you initialize an Applet?

1134


what is abstract class in Java?

1109


What is set string?

1163


Where local and global variables are stored?

1072


what is the difference between a threads start() and run() methods? : Java thread

1008


Why main() method is public, static and void in java ?

1081


Explain 5 io best practices?

1026