This is Java OOP task!