Answer Posted / divyaja
Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is runtime errors c++?
What is #include iomanip?
What is a c++ map?
How should a contructor handle a failure?
What c++ library is string in?
Define a nested class. Explain how it can be useful.
What do you mean by function overriding & function overloading in c++?
Explain the difference between using macro and inline functions?
Differentiate between a template class and class template in c++?
Difference between struct and class in terms of access modifier.
Define upcasting.
what are function pointers?
Why namespace is used in c++?
Explain pass by value and pass by reference.
How do you flush a buffer in c++?