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

Is oops and c++ same?

0 Answers  


How the delete operator differs from the delete[]operator?

0 Answers  


Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

0 Answers  


Define pre-condition and post-condition to a member function in c++?

0 Answers  


What is Namespace?

5 Answers   HCL, Samsung,


What do c++ programmers do?

0 Answers  


What are the five basic elements of a c++ program?

0 Answers  


What is the difference between cin.read() and cin.getline()?

0 Answers  


Explain the use of virtual destructor?

0 Answers  


what is oops

2 Answers  


When do we use copy constructors?

0 Answers  


What is stoi in c++?

0 Answers  


Categories