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
Answer Posted / 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 |
Post New Answer View All Answers
Is it possible for yielded thread to get chance for its execution again ?
What is the structure of java?
Can you pass functions in java?
What are heterogeneous objects?
What is the method to expand and collapse nodes in a jtree?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Define jit compiler?
What is a conditional equation?
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (
What is final modifier?
What is meant by distributed application? Why are we using that in our application?
What is nan in java?
Explain about wait() method?
What is difference in between java class and bean?
How does predicate work in java?