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 |
Which programming language is best?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Can we delete this pointer in c++?
What are the advantages of c++?
How do I write a c++ program?
Where and why do I have to put the "template" and "typename" keywords?
how to connect with oracle 9i with server in socket program in c/c++
What is private public protected in c++?
sizeof - is it a function or operator?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()