Question from the Ruby test

What is the output of the following code? class A def method1 puts 'method1' end private def method3 puts 'method3' end end obj = A.new obj.method1 obj.method3