Access Modifiers: There are two types of modifiers in java. First is Access Modifiers and second is Non-Access Modifiers. Access modifiers /specifiers define the boundary for accessing the variable, or methods, or class etc. In other words, access
Read this post on scientecheasy.com