Q: What values are returned by the two last expressions ?
Answered
previous quizz quizz 23/36 next quizz
class A @var = "hello" def print_var @var end def self.print_var @var end end A.new.print_var A.print_var
copy
Ruby 3.3.0