The Artima Developer Community
Sponsored Link

Java Answers Forum
Base Class, Parent Class

1 reply on 1 page. Most recent reply: Jul 28, 2003 5:57 AM by Adam Duffy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Sarath Kumar

Posts: 4
Nickname: sarath
Registered: May, 2003

Base Class, Parent Class Posted: Jul 25, 2003 9:37 PM
Reply to this message Reply
Advertisement
Is there any different between Base Class and Parent Class


Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Base Class, Parent Class Posted: Jul 28, 2003 5:57 AM
Reply to this message Reply
My understanding of Base Class vs Parent Class is as follows

public class A
{
}
 
public class B extends A
{
}
 
public class C extends B
{
}


A is the base class for B and C. A is the parent class for B and B is the parent class for C.

Adam

Flat View: This topic has 1 reply on 1 page
Topic: -==ALL BEST Software And Cracks For YOU!!!==-(CAM, CAD, ext.) Previous Topic   Next Topic Topic: display image

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use