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 |
Is oops and c++ same?
How the delete operator differs from the delete[]operator?
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?
Define pre-condition and post-condition to a member function in c++?
What is Namespace?
What do c++ programmers do?
What are the five basic elements of a c++ program?
What is the difference between cin.read() and cin.getline()?
Explain the use of virtual destructor?
what is oops
When do we use copy constructors?
What is stoi in c++?