What ' s The difference between protected and private classes in Java?

Protected class members have the same visibility as of private except that it also can be accessed from its inherited classes. Since there’s no such concept as ‘subpackage’ or ‘package-inheritance’ in Java, declaring class protected or package-private would be the same thing.
For More Information Please Refer:
You May Also Like to Read: