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: Yvonne Watkins   on Apr 29

In other words, what you have here is an Inheritance tree, NOT Multiple
Inheritance.

Object
|
|
\|/
HttpServlet
|
|
\|/
Custom Class

In Java, each class  may directly inherit from only 1 other class, but
may inherit indirectly from as many classes as necessary. All classes
inherit from Object, either directly or indirectly. Your Custom Class
inherits from HttpServlet directly and Object indirectly.

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: