What happens if a modifier is not specified in java? -


this question has answer here:

 class btnode  {          btnode left, right;      int data;       //constructors , methods }  

in piece of code no specific modifier used. happens in context of modifier? default behavior?

from java docs:

if class has no modifier (the default, known package-private), visible within own package (packages named groups of related classes)

you can read here


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -