Ruby - Inheritance
Which of the following is the correct syntax to override a method named
display in a Ruby child class?display in a Ruby child class?def method_name; ... end syntax.def display; puts 'Child display' end with semicolon and end keyword.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions