0
Is it possible to access private methods from another class in java without using reflection api?
Is it crct to have a public method to call a private method in the same class inorder to access that private method from another class?Like below https://code.sololearn.com/cGEIM0I8M4Ex/?ref=app If this is not the way,please tell the reason.
4 Answers