The understanding of OOP and classes