• Post Reply Bookmark Topic Watch Topic
  • New Topic

what do you mean by baseclasses  RSS feed

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai folks
i want to know exactly what is the
meaning of baseclasses and
the use of them

can anybody help me
in this regard

regards
vijay
 
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much do you know about object oriented programming? If you don't know what base classes (also called superclasses) are, you'll have to learn more about what object oriented programming is.

Here's a small example.
 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Base classes (or sub classes) is a concept used in Inheritance which is one of the key concepts in object-oriented programming.

Refer following links for more info,
http://java.sun.com/docs/books/tutorial/java/concepts/inheritance.html

http://www.phptr.com/articles/article.asp?p=26430&rl=1

HTH,
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't feel bad, you can read a lot of OO stuff without hitting the word "base". For example, that Sun link on iheritance above doesn't have the word in it. And when you do find it, it will be associated with "super" class, not "sub".

A base class is one that you are expected to extend to get anything useful. It's a good policy to avoid extending concrete classes, so a lot of times you'll find "base class" implies an abstract class. At least in my projects.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!