Question: what is the difference between inner class and nested class job?
Answer: Inner classes aka Non-stack classes have access to other members of the top class, even if they are declared private while Static nested classes do not have access to other members of the top class.