What is class? - Definition from WhatIs.com
Part of the Programming glossary:

In object-oriented programming , a class is a template definition of the method s and variable s in a particular kind of object . Thus, an object is a specific instance of a class; it contains real values instead of variables.

The class is one of the defining ideas of object-oriented programming. Among the important ideas about classes are:

  • A class can have subclasses that can inherit all or some of the characteristics of the class. In relation to each subclass, the class becomes the superclass.
  • Subclasses can also define their own methods and variables that are not part of their superclass.
  • The structure of a class and its subclasses is called the class hierarchy.

This was last updated in August 2005
Posted by: Margaret Rouse

Related Terms

Definitions

  • event-driven computing

    - Event-driven computing is a model in which programs perform work in response to triggering events. An event, in this context, is any detectable occurrence that has been defined as significant. Even... (WhatIs.com)

  • scripting language

    - A scripting language is a form of programming language that is usually interpreted rather than compiled. Scripting languages are typically converted into machine code on the fly during runtime by a... (SearchWinDevelopment.com)

  • microservice architecture (MSA)

    - A microservice architecture (MSA) is a logical structure for the design of a software program involving loosely-coupled modular components known as microservices. (WhatIs.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.