what is the use of classes in c++;

Answer Posted / abhishek karal

In object-oriented programming, a class is a construct that
is used as a blueprint (or template) to create objects of
that class. This blueprint describes the state and behavior
that the objects of the class all share. An object of a
given class is called an instance of the class. The class
that contains (and was used to create) that instance can be
considered as the type of that object, e.g. an object
instance of the "Fruit" class would be of the type "Fruit".

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the renewal class?

2161


What is the purpose of polymorphism?

671


What is for loop and its syntax?

592


What is class and object with example?

583


Are polymorphisms mutations?

693






What is the full form of oops?

605


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1622


Why do we use oops?

588


What is abstract class in oops?

594


What does I oop mean?

609


What is interface in oop?

656


can we make game by using c

3411


Can we create object of interface?

599


Can bst contain duplicates?

664


Which language is not a true object oriented programming language?

634