1. Home
  2. Computing & Technology
  3. Java
photo of Paul Leahy
Paul's Java Blog

By Paul Leahy, About.com Guide to Java

Java Term of the Week: Superclass

Saturday January 3, 2009

In contrast to last week's Java term, a superclass is a class that has been extended by another class. It can allow the extending class to build upon the state and behaviors it defines.

For example, the Person class is the superclass of Employee:

public class Employee extends Person
{

}
Comments
January 3, 2009 at 8:45 pm
(1) Jose Ayerdis says:

It’d be nice if you write about diference between this and super lots of person get confused!!

January 12, 2009 at 3:39 pm
(2) Paul Leahy says:

Good suggestion – I’ll make super a term of the week in the future.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore Java
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Java

©2009 About.com, a part of The New York Times Company.

All rights reserved.