1. Home
  2. Computing & Technology
  3. Delphi Programming

Class

By Zarko Gajic, About.com

Definition: A list of features representing data and associated code assembled into single entity. A class includes not only features listed in its definition but also features inherited from ancestors.

The terms class and type are usually (but not always) interchangeable; a class is a slightly different concept that a type, in that it emphasizes the classifications of structure and behavior.

Classes are related in a class hierarchy. One class may be a specialisation (a "subclass") of another (one of its "superclasses"). A class may be an abstract class or a concrete class.

The Visual Component Library (CVL) is a class hierarchy of Delphi components and object types.

Also Known As: Object Type
Examples:
type
   TCar = Class
     Year : integer;
     Color : TColor;
   end;
Explore Delphi Programming
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. Delphi Programming
  4. Getting Started with Delphi
  5. Delphi Programming Glossary
  6. Class - Glossary - Delphi Programming

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

All rights reserved.