View Single Post
  #3 (permalink)  
Old 12-31-2007, 06:08 AM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
An example of multiple inheritance is
Code:
public class Test extends Foo, Bar // illegal! {...}
Further, implicitly means that the compiler makes the extension for you, in this case.

So technically, it would look like this
Code:
public class Foo extends Object {...} public class Bar extends Foo {...}
Reply With Quote