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

what are the diffrences between interface and abstract class?

4 Answers  


What classes can be used to store arbitrary number of objects ?

1 Answers  


Why is core java important?

0 Answers  


How to make object serializable in java?

0 Answers  


I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

0 Answers  






What is a generic data type?

0 Answers  


What is return type in java?

0 Answers  


Can we able to pass objects as an arguments in java?

0 Answers  


What are virtual functions?

2 Answers  


Explain an algorithm to find depth of a binary tree.

0 Answers   Akamai Technologies,


how to split string in java?

0 Answers  


When we serialize an object does the serialization mechanism saves its references too?

0 Answers  


Categories