0
What happens to the rules of access modifiers when using objects in java?
What is the behavior of objects under access modifiers
1 Resposta
0
I think your question is not clear enough but as I understand your question, my answer is for example as usual we use access modifiers for fields, classes, methods or constructor but for ex when we use access modifiers for fields it hides states of object ( private access modifier) and you should use getter & setter to change that fields ( or change the state of object)