give me some class & objects examples?
Answer / 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 |
What are namespaces in c++?
What are the basics concepts of OOPS?
What is private inheritance?
What are literals in C++?
Define pointers?
What do you know about friend class and friend function?
What does #define mean in c++?
How Virtual functions call up is maintained?
Explain what are the sizes and ranges of the basic c++ data types?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
When do we run a shell in the unix system?
Write a program which employs Recursion