Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Class, instance, attribute, method?

Ook bekend als: class · instance (object) · attribute · method

Definition 23.1 High School Computer Science · Hoofdstuk 23 — Classes and Objects

A class is a new type of value, defined by the program. A value of that type is an instance of the class, also called an object. Each instance holds named values, its attributes; the functions defined in the class, which act on an instance, are its methods.

Lees in het hoofdstuk →