Ruby - Inheritance
Which of the following is the correct syntax to call the parent method with no arguments using
super?super?super with parenthesessuper() calls the parent method explicitly with no arguments, ignoring any current method arguments. Only super() uses parentheses correctly to pass no arguments; other forms are invalid syntax.super() means no arguments [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions