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


Class A extends Class B but Class A also inherit Super Class
Object so it is multiple inheritence give reason in support of
your answer

Answers were Sorted based on User's Feedback



Class A extends Class B but Class A also inherit Super Class Object so it is multiple inheritence ..

Answer / srinivas

class A extends class B so that class A points the object
of object class through class B object. there fore it will
be called as maltilevel inheritence but not multipul
inheritence.

Is This Answer Correct ?    10 Yes 2 No

Class A extends Class B but Class A also inherit Super Class Object so it is multiple inheritence ..

Answer / sandhya reddy

For every class, Object class is the super class.
class A extends class B and at the same time class A is sub
class of object class and super class of class B. But class
B is only sub class of Class A. SO here MultiLevel
Inheritance is happening not multiple inheritance happen.

Is This Answer Correct ?    1 Yes 1 No

Class A extends Class B but Class A also inherit Super Class Object so it is multiple inheritence ..

Answer / skpttanayak

How come classs A be super class of class B dear...Class b
is not the subclass here...but superclass.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we catch more than one exception in a single catch block?

0 Answers  


How can we access some class in another class in java?

0 Answers  


What java ide should I use?

0 Answers  


What Is Resource Leak?

2 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Why does java not support pointers?

0 Answers  


when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service

4 Answers   Accenture,


What is a native method in java programming?

0 Answers  


If an object is garbage collected, can it become reachable again?

0 Answers  


Why java is free from garbage values??

4 Answers  


How would you format a date in java? I.e. In the ddmmyyy format?

0 Answers  


what is difference between prepare stetement and callable starement with example?

1 Answers   CMC,


Categories