give me some class & objects examples?



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

Post New Answer

More C++ General Interview Questions

Can we declare destructor as static? Explain?

3 Answers  


What is a template in c++?

0 Answers  


What's the hardest coding language?

0 Answers  


What is the prototype of printf function?

0 Answers  


Write about an iterator class?

0 Answers  






Copy Linked List using recursive function?

2 Answers   Persistent,


What are pointer-to-members in C++? Give their syntax.

0 Answers   HAL,


Do you know about C++ 11 standard?

0 Answers   Agilent, ZS Associates,


What is a memory leak c++?

0 Answers  


Explain abstraction.

0 Answers  


What is the role of copy constructor in copying of thrown objects?

0 Answers  


What is the best c c++ compiler for windows?

0 Answers  


Categories