Q. Which keyword is used to refer to the current instance of a class in Ruby?

  • (A) self
  • (B) instance
  • (C) @
  • (D) this
πŸ’¬ Discuss
βœ… Correct Answer: (A) self

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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