Q. Which method is used to create a new instance of a class in Ruby?

  • (A) new
  • (B) create
  • (C) instance
  • (D) initialize
πŸ’¬ Discuss
βœ… Correct Answer: (A) new

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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