This content has been marked as final. Show 3 replies
I'm not sure if I understand the question, but perhaps you want the member to be protected instead of private?
beatlefla wrote:Even i don't understand your question can you reframe the question but anyway you can't access private methods in subclass
Can someone please explain to me how you would add an exception for private member method of class to extended class.
Private method cannot be accessed from outside of class. So having a exception will help within the class but of no use outside the class.