How do you establish a has-a relationship?
No Answer is Posted For this Question
Be the First to Post Answer
the maximum length of a character constant can be a) 2 b) 1 c) 8
Does c++ support multilevel and multiple inheritances?
Explain some examples of operator overloading?
Refer to a name of class or function that is defined within a namespace?
What is the difference between an array and a list?
What is virtual constructor paradigm?
How do you show the declaration of a virtual constructor?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
List the features of oops in c++?
How long will it take to learn programming?
What is static function? Explain with an example
Do the names of parameters have to agree in the prototype, definition, and call to the function?