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 |
what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking
Consider the following code fragment: int main(void) { int m = 4; mystery ( m ); mystery ( m ); printf("%d", m); return 0; } What is the output on the monitor if mystery is defined as follows ? void mystery (int m) { m = m+3; }
What is static function? Explain with an example
Can recursive program be written in C++?
How do you master coding?
What c++ is used for?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is this weird colon-member (" : ") syntax in the constructor?
Differentiate between structure and class in c++.
What is #include ctype h in c++?
diff between pointer and reference in c++?
How do you print a string on the printer?