Why java external classes can access private variables of inner classes

java is a rookie. I roughly understand that when java compiles external classes and inner classes, it is treated as two classes. Inner classes can access variables of external classes, and some access methods are added during compilation, but I don"t understand why external classes can access private variables of internal classes. Please tell us

Mar.31,2021
This is how the

language level is defined, and there is no reason why. If you have to say why, it is that the inner class is a member variable of the outer class and, of course, has more permissions on it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9db2f-1979.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9db2f-1979.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?