Introduction - If you have any usage issues, please Google them yourself
Sometimes need to expose some of the variables and methods, and sometimes other objects need to prohibit the use of variables and methods, then you can use the modifier to achieve this goal. Commonly used as a modifier. Public, private, protected, package, static, final.