I was following a tutorial about nested classes
But for me, it gives an inconsistent accessibility exception
Why does this work for him ?
private class Manager
public Manager man = new Manager();
You cannot have
man declared as
Manager is declared
private. A caller from the outside could see
man but not
man would be of no use to him.