πŸ“Š C++
Q. When class B is inherited from class A, what is the order in which the constructers of those classes are called?
  • (A) Class A first Class B next
  • (B) Class B first Class A next
  • (C) Class B’s only as it is the child class
  • (D) Class A’s only as it is the parent class
πŸ’¬ Discuss
βœ… Correct Answer: (A) Class A first Class B next

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
167
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate