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 |
Is multimap sorted c++?
Which function cannot be overloaded c++?
Is c++ a software?
What is object slicing and how can we prevent it?
What is the difference between set and map in c++?
What do c++ programmers do?
Explain one method to process an entire string as one unit?
can output 5 students using one dimensional array
Which is most difficult programming language?
How would you use qsort() function to sort an array of structures?
what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?
What are the advantages of using typedef in a program?