Some features of teaching students object-oriented programming