what is the use of classes in c++;
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / anilkuma
In c++ classes are used for protect data,nothing but we can
provide more secure for data in c++ classes
| Is This Answer Correct ? | 6 Yes | 0 No |
Is abstract thinking intelligence?
What are the benefits of interface?
define oops concept with example
What is purpose of inheritance?
Explain polymorphism? What r the types of polymorphism? pls give examples?
What is encapsulation with example?
what is meant by files?
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram
What is public, protected, private?
Why static Function is used in C++?
What is polymorphism and why is it important?
What is virtual function?where and when is it used?