How can we influence the accessibility of variables and methods?
public keyword makes things available to pretty much any classsecure keyword makes variables and methods impossible to crackNice! We can use private and public. Private variables and methods can only be modified from within their class while public things are available to any class.
Close! We can use private and public. Private variables and methods can only be modified from within their class while public things are available to any class.