The-definition.com

Definition

Class

A Class in object-oriented programming is a template or bluprint  that defines attributes and behaviours that make up an object.

Example:

public class User
{
    //attributes and methods are goes here
}
Share it:  Cite

More from this Section

  • Data Types
    Generally data types refer to the classification of various types of data that a computer ...
  • Variable
    Variable is a computer programming term which refers to a named memory location (storage) ...
  • Polymorphism
    In object-oriented programming, Polymorphism means the ability to use same named method ...
  • Computer Programming
    Computer programming can be defined as creating or writing a sequence of instructions ...
  • Object-Oriented Programming
    Object-oriented programming (OOP) is defined as a concept of programming based on objects in ...