
related topics 
{math, number, function} 
{system, computer, user} 
{group, member, jewish} 
{theory, work, human} 
{woman, child, man} 
{work, book, publish} 
{school, student, university} 
{car, race, vehicle} 
{language, word, form} 

In objectoriented programming, a class is a construct that is used as a blueprint (or template) to create objects of that class. This blueprint describes the state and behavior that the objects of the class all share. An object of a given class is called an instance of the class. The class that contains (and was used to create) that instance can be considered as the type of that object, e.g. an object instance of the "Fruit" class would be of the type "Fruit".
Contents
A class usually represents a noun, such as a person, place or (possibly quite abstract) thing  it is a model of a concept within a computer program. Fundamentally, it encapsulates the state and behavior of the concept it represents. It encapsulates state through data placeholders called attributes (or member variables or instance variables); it encapsulates behavior through reusable sections of code called methods.
Full article ▸


related documents 
Combinatorics 
Dedekind domain 
Orthogonal matrix 
Lie group 
Hilbert's tenth problem 
Riemann integral 
Μrecursive function 
Original proof of Gödel's completeness theorem 
Pythagorean triple 
Algebraic geometry 
Logarithm 
Group theory 
Singleton pattern 
Discrete cosine transform 
Grothendieck topology 
Binomial coefficient 
Fast Fourier transform 
Closure (computer science) 
Continued fraction 
Travelling salesman problem 
Axiom of choice 
Tensor product 
Adjoint functors 
Variable 
Determinant 
Padic number 
Lambda calculus 
Functional programming 
Scheme (programming language) 
Kolmogorov complexity 
