Why can't we have static outer classes

java, static

Solution

Outer classes are already effectively `static` A `static` nested class means it has no reference to the outer class. An outer class already has no implicit reference to another class.

Problem

Why can't we create static classes which are outer. I read answers to the question in this community but I haven't gotten a perfect answer. Can some help me with an exact answer ``` static class A { void display() { System.out.println("This is a static class"); } } ```

Original source

Related problems