--%>

Define class

Define class?

E

Expert

Verified

A class can be described as the main building block of OOP. It too serves as a template which defines the states, behavior and properties, familiar to a particular set of objects.

A class also defines the features of objects, plus the methods which execute the actions of member objects. It is a complete data type that signifies a blue print of objects. It is also a template of object. The class holds behavior and data of entity. Such as, aircraft class could contain data, like category, model number, and color and activities, like duration of flight, speed, and number of travelers. Class takes over the behaviors and data members of additional classes by extending from them.

   Related Questions in Programming Languages

  • Q : Define the term server-side XPointer

    Define the term server-side XPointer?

  • Q : Explain Infinite loop Infinite loop :

    Infinite loop: The loop whose termination test never computes to false. At times this is a deliberate act on the portion of the programmer, employing a construct like:         whi

  • Q : What is Bridging method Bridging method

    Bridging method: A method which offers a bridge between methods of a class's public interface and its private implementation. Bridging methods will usually contain non-public visibility.

  • Q : Explain the differences among SEI

    What in your advice are the most important fundamental differences among SEI SW-CMM and ISO 9000-3?

  • Q : Function prototypes Function prototypes

    Function prototypes: Function declaration which specifies the function name, return type and parameter list of the function. Syntax: return_type function_name(type var1, type var2,…

  • Q : State machine to identify three

    Explain a finite state machine which will detect three consecutive coins tosses of one coin which results in heads?

  • Q : Define Race hazard Race hazard : It is

    Race hazard: It is a situation which occurs between multiple threads sharing a resource. The race hazard occurs whenever one thread's suppositions regarding the state of a resource are invalidated by the actions of the other thread.

  • Q : What are good examples of XHTML

    What are the good examples of XHTML elements along with contents?

  • Q : Explain the way to initialize contents

    Explain the way to initialize contents of a dialog.

  • Q : Explain Exclusive-or operator

    Exclusive-or operator: An exclusive-or operator (^) is both a Boolean operator and the bit manipulation operator. The Boolean version provides the value true when only one of its operands is true; or else it offers the value false. Likewise, the bit m