Page 3 of 3 FirstFirst 123
Results 41 to 53 of 53

what is a class ?

This is a discussion on what is a class ? within the Programming forums, part of the Web Designing & Development category; A class --the basic building block of an object-oriented language such as Java--is a template that describes the data and ...

  1. #41
    Senior Member
    Join Date
    Nov 2013
    Posts
    108

    Default Re: what is a class ?

    A class--the basic building block of an object-oriented language such as Java--is a template that describes the data and behavior associated with instances of that class. When you instantiate a class you create an object that looks and feels like other instances of the same class. The data associated with a class or object is stored in variables; the behavior associated with a class or object is implemented with methods. Methods are similar to the functions or procedures in procedural languages such as C.

  2. #42
    Member
    Join Date
    Mar 2014
    Posts
    99

    Default Re: what is a class ?

    Class is a collection of similar kind of objects.

  3. #43
    Member
    Join Date
    May 2014
    Location
    UK
    Posts
    70

    Default Re: what is a class ?

    Class is a group of objects and functions.Classes also defines the data types of the objects.

  4. #44
    Member
    Join Date
    Nov 2014
    Posts
    97

    Default Re: what is a class ?

    In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions, methods).

  5. #45
    Member
    Join Date
    Feb 2015
    Posts
    99

    Default Re: what is a class ?

    A Class is the set of objects, It defines all the common properties of the different objects that belong to it.

  6. #46
    Member
    Join Date
    Jan 2014
    Posts
    44

    Default Re: what is a class ?

    Class is collection of data.

  7. #47
    Senior Member
    Join Date
    Jun 2015
    Posts
    940

    Default Re: what is a class ?

    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.

  8. #48
    Senior Member
    Join Date
    Jun 2014
    Location
    United Kingdom
    Posts
    150

    Default Re: what is a class ?

    Class is a type of object.

  9. #49
    Member tarunap's Avatar
    Join Date
    Jun 2015
    Posts
    62

    Default Re: what is a class ?

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

    Regards
    TarunaP
    Noushost.com

  10. #50
    Senior Member chinmay.sahoo's Avatar
    Join Date
    Dec 2013
    Location
    Banglore
    Posts
    266

    Default Re: what is a class ?

    a class is an extensible program-code-template for creating objects

  11. #51
    Senior Member
    Join Date
    Aug 2015
    Posts
    302

    Default Re: what is a class ?

    Class is a part of object oriented.Class has set of instructions to build a specific type of object.

  12. #52
    Senior Member
    Join Date
    Jan 2016
    Posts
    145

    Default Re: what is a class ?

    Hey,
    A class can be defined as a template that describes the behaviors that object of its type support.A class contains objects and can have variables as well.
    class<identifier>
    {
    <member>
    ...
    }

  13. #53
    Senior Member
    Join Date
    Jan 2012
    Posts
    2,044

    Default Re: what is a class ?

    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.

Page 3 of 3 FirstFirst 123