Class (programming)
Appearance
A class is a part of a program that a programmer uses to represent a thing in a way that a computer can understand. A class is written in a programming language and a programming language that can be used to write classes is called an Object-oriented programming language. Classes have fields, which represent a quality the thing has, and classes have methods, which represent what a thing can do. For example, a programmer could write a class to represent a car, which could have a color field, four tire fields, and a drive method.
This article does not have any categories. Please add a category so that it will be placed in a dynamic list with other articles like it. |