Definition of class?
Answers were Sorted based on User's Feedback
Answer / aarthi
class is defined as the collection of attributes and
behavior
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / vadivel
A Class is a blueprint of object.
or
class are units of code and data, which can be used as
block boxs(called object).
Object:- Instance of class is called object.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / priya
class is the way to bind the functions and data together
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / adnan sheikh
A class is the collection of related function and data
together and object is the instance of the class
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sanjaya mohapatra
CLASS IS A USER DEFINE DATA TYPE.IT IS THE WAY OF BINDING
DATA AND ITS ASSOCIATIVE FUNCTIONS.IT ALLOWS TO HIDING THE
FUNCTION IF NECESSARY FOR EXTERNAL USE.WHEN A CLASS IS
CREATED A OBJECT WILL CREATED.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / manju
class is a collection of data members and member functions
| Is This Answer Correct ? | 2 Yes | 1 No |
Can a Structure contain a Pointer to itself?
Write a struct time where integer m, h, s are its members?
What is public, protected, private in c++?
What is type of 'this' pointer? Explain when it is get created?
How a macro differs from a template?
How can you create a virtual copy constructor?
How many storage classes are available in C++?
Is c++ an oop?
Why Pointers are not used in C++?
why and when we can declar member fuction as a private in the class?
What is the latest c++ standard?
What is a storage class? Mention the storage classes in c++.