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 string an object in c++?
How is data hiding achieved in c++?
How do you save a c++ program?
Explain all the C++ concepts using examples.
List the issue that the auto_ptr object handles?
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
What is class in c++ with example?
which of the following is not an secondary constant a) array b) real c) union
What is microsoft c++ redistributable?
Describe functional overloading?
what is data encapsulation in C++?
Write about the role of c++ in the tradeoff of safety vs. Usability?