Home

Which of the following relationship is known as inheritancerelationship?

A. ‘has-a’ relationship

B. ‘is-a’ relationship

C. association relationship

D. none of the above

You can do it
  1. The characteristic that data can be manipulated only through member functions that are part of the class…
  2. A pure virtual function is a virtual function that has
  3. If class A is friend of class B and if class B is friend of class C, which of the following is…
  4. A destructor can have arguments like constructor.
  5. A member function can always access the data
  6. The template function declaration specifies
  7. Protected members cannot be inherited.
  8. Member function cannot be called from within a constructor.
  9. The declaration int **var1; shows that
  10. When accessing a structure member, the identifier to the left of the dot operator is the name of
  11. A class that contains at least one pure virtual function is called as
  12. Which of the following is true about const member functions?
  13. We cannot have the address of a constructor.
  14. We can make function inline by using the keyword 'inline'.
  15. Static member functions have file scope.
  16. The signature of a function is
  17. Delete operator is used
  18. In C++, the stream base class is
  19. A function that is called automatically when an object is created is known as
  20. You can read input that consists of multiple lines of text using
  21. When one object initializes another object the following function is invoked
  22. main() returns a value of type
  23. It is possible to allow non member function access to private members of a class by declaring it as
  24. :: is known as
  25. Protected data members can be accessed
  26. The && and || operators
  27. Public data members can be accessed
  28. _____________ operator must have one class object
  29. By default, C++ uses the following method of passing arguments
  30. Private data members can be accessed