+ 2
Name the access modifier
it explicitly says that a method or variable of any object can be accessed by code from outside of the class of that object
2 Answers
0
This code uses both.
https://code.sololearn.com/cIWDR8Ro1tyV/?ref=app
0
public access modifier let's us access the code from outside of the class of that object.