- Tech know how online

class definition

A class definition is the definition of the characteristics - that is, the characteristic properties such as attributes and methods - of objects.

A class definition describes the objects of a class by a scheme according to which instances of this class are created and manipulated. This schema consists of the class name and the attributes and methods of the class.

If inheritance is supported, a class definition may additionally contain the names of the superclasses of the new class.

Classes and objects of object-oriented programming (OOP)

Classes and objects of object-oriented programming (OOP)

In addition, class definitions can describe the access rights to attributes and methods and thus specify a subset of their characteristics (attributes and methods) as an interface.

Englisch: class definition
Updated at: 12.12.2009
#Words: 114
Links: class, name, inheritance, indium (In), interface (I/F)
Translations: DE

All rights reserved DATACOM Buchverlag GmbH © 2023