πŸ“Š Ruby
Q. What is a "class variable" in Ruby?
  • (A) A variable that is initialized with the value of a constant
  • (B) A variable that is shared among all instances of a class
  • (C) A variable that is dynamically assigned based on the instance's state
  • (D) A variable that is initialized with the value of a constant
πŸ’¬ Discuss
βœ… Correct Answer: (B) A variable that is shared among all instances of a class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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