Home »
MCQs »
Ruby on Rails MCQs
Which of the following access modifiers are not used in Ruby?
59. Which of the following access modifiers are not used in Ruby?
- Public
- Private
- Protected
- None
Answer: D) None
Explanation:
Ruby has three access modifiers: public, protected, and private.