--%>

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 : Examples in Threading in Java I need

    I need urgent help in Examples of Threading in Java

  • Q : Explain Timesharing system Timesharing

    Timesharing system: It is an operating system which shares processor time among multiple processes by assigning each a time slice. Once a process's time slice has finished or expired, the other procedure is given a possibility to run.

  • Q : Define Comment Comment : It is a piece

    Comment: It is a piece of text proposed for the human reader of a program. The compilers disregard their contents.

  • Q : Commands used to create the files

    Specify different commands which are used in order to create the files?

  • Q : Explain the java applets with a

      APPLET: an applet is an application designed to tra

  • Q : CORBA allows high performance

    'CORBA was designed to allow high performance distributed applications to be written’. Discuss. Definitely, ’CORBA was designed to allow high performance distributed applications to be written’ because it provides:

  • Q : Problem on three dimensional diagram of

    Create a three dimensional diagram of function z = (x-2)2 + (y-3)3.

  • Q : Explain Copy constructor Copy

    Copy constructor: It is a constructor which takes a single argument of similar class. For illustration:     public class Point {        

  • Q : Define Binary search Binary search :

    Binary search: This is a search of sorted data, in which the middle place is examined first. The search continues with either the right or the left part of the data, therefore removing half the remaining search space. This procedure is repeated at eac

  • Q : What is Super class Super class: It is

    Super class: It is a class which is extended by one or more sub classes. All Java classes encompass the Object class as a super-class.