Practice exercises for methods and objects