How do you establish a has-a relationship?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is enum class in c++?

0 Answers  


When to use “const” reference arguments in a function?

0 Answers  


In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 Answers  


Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??

7 Answers  


What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,






What is the type of 'this' pointer?

0 Answers  


What is an adaptor class in c++?

0 Answers  


What is the return value of the insertion operator?

0 Answers  


What is the difference between equal to (==) and assignment operator (=)?

0 Answers  


Is c++ a good first language to learn?

0 Answers  


What do the keywords volatile and mean mutable?

0 Answers  


What is main function in c++ with example?

0 Answers  


Categories