File:Oop-uml-class-example.svg · Wikimedia Commons · See Wikimedia Commons
Klasse
Sign in to saveAlso known as cls
abstraktes Modell bzw. ein Bauplan in der objektorientierten Programmierung
In object-oriented programming, a class is a template or blueprint that defines what properties and abilities an object will have. Classes matter because they let programmers organize code efficiently by creating multiple similar objects that all follow the same design, rather than having to write out each object's details from scratch.
AI-generated from the Wikipedia summary — may contain errors.
Wikidata facts
- Subclass of
- abstract entity
- Based on
- structure in C
- Has use
- instance
Show 4 more facts
- topic's main category
- Category:Class (computer programming)
- Stack Exchange tag
- stackoverflow.com/tags/class
- partially coincident with
- structure in C
- facet of
- class-based programming
Sources (1)
via Wikidata · CC0
Article · Deutsch
Unter einer Klasse (auch Objekttyp genannt) versteht man in der objektorientierten Programmierung ein abstraktes Modell bzw. einen Bauplan für eine Reihe von ähnlichen Objekten. Die Klasse dient als Bauplan für die Abbildung von realen Objekten in Softwareobjekte und beschreibt Attribute (Eigenschaften) und Methoden (Verhaltensweisen) der Objekte. Verallgemeinernd könnte man auch sagen, dass eine Klasse dem Datentyp eines Objekts entspricht.
Abstract from DBpedia / Wikipedia · CC BY-SA