 If no access specifier is stated, the default access restrictions will be applied.The class will be accessible to other classes in the same package but will be inaccessible to classes outside the package.When we say that a class is inaccessible, it simply means that we cannot create an object of that class or declare a variable of that class type.