I have some basic c++ questions.
In definition of function members of a class, their names are qualified with the class name using which operator?
public and private?
What checks for the integrity of data that is used to populate the data members of a class? My guess is a class invariant? please tell me if I'm wrong.
Which constructor is used when an objects declaration does not supply initial values for the data members of an object whereas a [blank] constructor initializes then to specific values supplied in the objects declaration.
my guess is default constructor and explicit value constructor?
Functions can be overloaded provided they have different [blank]? no idea?
Two default copy operations provided for all classes are copy during [blank] and copy during [blank].
An operator ^ can be overloaded by writing a function with the name [blank]. bool?
A [blank] function is a non-member function that can access a class’s data members.
friend? I believe this is correct, again please correct me if I am wrong
What is an ADT?
a collection of data items together with the operations on the data.
Define the private portion of a class to model the given item:
A class “Date” for dates consisting of a month, date and year.
string myYear; Is this question really this straightforward?
Please correct me above, this is a study guide for an upcoming exam.
This post has been edited by iqbalmmz: 22 November 2011 - 09:28 AM