Erstellt von b3014292
vor mehr als 9 Jahre
|
||
What is dynamic memory allocation?
In Dynamic Memory Allocation, the new and delete keywords are used but is it a good idea to use them?
What are virtual functions?
What is upcasting?
If instance x of X knows about instance y of Y, is x a private data class member?
Does this code work:
void showDate(const Date& d) const {
cout << d.getDay() << " " << d.getMonth() << " " << d.getYear();
}
Which is called first?
trl.deleteGivenTransaction(trl.getLastTransactionForDate(d));
What is this Pair defined as?
template <typename T1, typename T2>
Does this code call a copy constructor?
Pair<int, int> x(12, 3);
Assuming that all the parameters are set up correctly, does this code work?
ca.updateBalance(12.0)
In what class is Abstraction is only designed to be used in?
If im making a abstract class, what must my function be?
What kind of relationship would the following be:
Player* player = p_player;
When is Dynamic Binding obtained?
What does a base class and derived class look like in Dynamic Binding?
True or False:
In class derivation, Static binding is a mechanism that allows the compiler to decide which (version of the) code to invoke for a member function depending on the type of the handle?
In Abstract Base Classes, what keyword is needed to make a class abstract?
What is a singleton class?