πŸ“Š Ruby
Q. What does the term "inheritance" refer to in Ruby?
  • (A) A mechanism by which a class can create multiple instances of another class
  • (B) A mechanism by which a class can hide implementation details from another class
  • (C) A mechanism by which a class can inherit properties and behaviors from another class
  • (D) A mechanism by which a class can override methods from another class
πŸ’¬ Discuss
βœ… Correct Answer: (C) A mechanism by which a class can inherit properties and behaviors from another class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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