Axaptapedia is now maintained by AgileCadence For more information please click here.

Difference between revisions of "Class"

From Axaptapedia
Jump to: navigation, search
(Introduction)
Line 1: Line 1:
 
==Introduction==
 
==Introduction==
In object-oriented programming a class is a programming language construct that contains properties and methods. The properties represent the attributes of an object and the methods represent the actions that an object can perform. A common design pattern is to have a base class and child classes that specialise the methods of the base class.
+
In object-oriented programming a class is a programming language construct that contains properties and methods. The properties represent the attributes of an object and the methods represent the actions that an object can perform. A common design pattern is to have a parent class and child classes that specialise the methods of the parent class.
  
 
[[Category:General development]]
 
[[Category:General development]]

Revision as of 09:36, 21 June 2007

Introduction

In object-oriented programming a class is a programming language construct that contains properties and methods. The properties represent the attributes of an object and the methods represent the actions that an object can perform. A common design pattern is to have a parent class and child classes that specialise the methods of the parent class.