πŸ“Š Ruby
Q. What is the main purpose of using inheritance in Ruby?
  • (A) To promote code reusability and reduce redundancy
  • (B) To improve code performance
  • (C) To simplify the syntax of a program
  • (D) To enhance code modularity
πŸ’¬ Discuss
βœ… Correct Answer: (A) To promote code reusability and reduce redundancy

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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