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

how can be object class inherited to all class in a program
when java does not support multiple inheritance??

Answer Posted / ashok yadav

A class always extends only one class. That is the Object
class or the class defined with the extends keyword. That
class in turn can extend also only one class until eventual
the Object class is reached.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Enum in Java?

1206


Write a program to print fibonacci series up to count 10.

851


Which method cannot be overridden in java?

946


How to make object serializable in java?

924


What is java in detail?

1023


How dead lock situation occurs in java and how you can identify it?

941


What do you understand by classes in java?

946


Where to store local variables?

1034


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1000


There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?

1425


What is methodological theory?

931


Difference between Linked list and Queue?

978


What are structs in java?

1001


What is string buffer?

905


How to obtain a performance profile of java program

952