we need to hide some unwanted things from the user in order to prevent him from knowing too much about your secret details . It is like hiding some private details in your database . I am sure if u are going to take up c++ as ur line then u will come across some real world applications where u will have to close ur irrelevant details.