Q. When class B is inherited from class A, what is the order in which the constructors of those classes are called

  • (A) Class A’s only as it is the parent class
  • (B) Class B’s only as it is the child class
  • (C) Class B first Class A next
  • (D) Class A first Class B next
πŸ’¬ Discuss
βœ… Correct Answer: (D) Class A first Class B next

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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