i have a doubt that private members can inherit to subclass or not how?give me a simple example