Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which object-oriented relationship can provide this information?

  Shared By: Shruti Sharma    Date: Dec 15    Category: C++ Programming    Views: 837

Answer:

Let us assume that there are two classes, namely M and N. Consider the following statement:
M calls a member of N

Which object-oriented relationship can provide this information?

Options

a) Use relationship
b) Containment relationship
c) Inheritance relationship
d) None of the above

Answer : a) Use relationship

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: