Output is correct but honestly I completely don;t undestand why when I compile program without writing whatever it gives result: Why the program doesnt see sleep method() but that sees eat() and play() methods?? Second thing is question: what is wrong with my solution? :) It gives correct output: Amigo: Mmmmm, beef Amigo: knock knock Amigo: Zzzzzzz...1 s