Why a private method is not there when i use javap classname
on
console after compiling that java file?
class A
{
private void one(){}
public void two(){}
protected void three(){}
}
Private methods are not displayed by default, you need to use:
javap -private A
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With