πŸ“Š Ruby
Q. What does inheritance allow in OOP?
  • (A) A class to override instance methods
  • (B) A class to access private methods
  • (C) A class to be instantiated
  • (D) A class to inherit properties and behaviors from another class
πŸ’¬ Discuss
βœ… Correct Answer: (D) A class to inherit properties and behaviors from another class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
114
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate