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 multiple inheritance allowed in Java? Why ?

Answer Posted / karthik

"Can some one explain about this case.

-> A is a super class and B extends from A.
-> java.lang.Object is super class for all classes.

now in this case B extends from A and B extend from java.lang.Object(because is default super class) then it is multiple inheritence right? "

Mr Suresh Aelidhe,

If a class extends any other class then it wont extends Object class

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How garbage collection is done in java?

1045


Is static a singleton?

965


What is meant by interface?

1049


What is the properties class?

1087


What is member in java?

1008


How would you use Bubble Sort to sort the number of elements?

996


What are nested classes in java?

1105


What is intern method in java?

1071


What happens when a thread cannot acquire a lock on an object in java programming?

1006


What is a finally block?

972


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1061


What does you mean in math?

1080


How to create a custom exception?

987


How do you sort in java?

973


Can we serialize static variables in java?

1080