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 lenguage 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.