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

Answers were Sorted based on User's Feedback



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

Answer / prasad

by using interface

Is This Answer Correct ?    16 Yes 6 No

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

Answer / 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

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

Answer / kumar

Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / pardeshi rahul

we can inherit by using Interfaces

Is This Answer Correct ?    5 Yes 7 No

Post New Answer

More Core Java Interview Questions

How does the garbage collector works in java?

0 Answers   Cyient,


What is left shift and right shift?

1 Answers  


wat is final...? wat is finally...? wat is finalize....? difference between " final and finally and finalize "...?

2 Answers  


give an example for encapsulation?

0 Answers   Aspire,


What is the method to declare member of a class static?

0 Answers   HCL,


What is charat ()?

0 Answers  


What is a hashmap used for?

0 Answers  


Can constructor be protected in java?

0 Answers  


why abstract class does not have object creation

6 Answers   Value Labs,


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


why interfaces are faster than abstract classes?

4 Answers  


Is intellij better than eclipse?

0 Answers  


Categories