A Admin • 828.03K Points Coach Q. What does the `protected` keyword do in Ruby classes? (A) Makes methods accessible only within the class and its subclasses (B) Makes methods accessible only within the class (C) Makes methods accessible only from outside the class (D) Makes methods accessible from anywhere in the code Correct Answer - Option(A) Views: 12 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.