Why changing the access modifier of getname method changed the output we get Please explain..