Ruby - Class Methods and Variables
Which of the following is the correct syntax to define a class method named
display inside a Ruby class Car?display inside a Ruby class Car?self..def self.display; end, which is the correct syntax for a class method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions