Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Clifton Flores   on Apr 29 In Java Category.

  
Question Answered By: Volney Fischer   on Apr 29

d> This may be a dumb  question.Is below scenario  similar to multiple
d> inheritance  ?

d> class  B extends Class A
d> Class C extends Class B

d> Then isn't it similar to Class C extends Class A & B.Is it any
d> different ?.

that doesnt really help you

use this

class C extends A implements B
{

}

it means the super() call calls on class A, but if i am not mistaken
doesnt call the constructor of B.

Share: 

 

This Question has 12 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Multiple Inheritance Or get search suggestion and latest updates.


Tagged: