Timeline for Why can you have statefulness inside a static class in java?
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 16, 2014 at 17:11 | comment | added | Kilian Foth | That's not really true for the nested class, is it? In the example above, you can have different instances of Test with different values for a. They just can't access any hypothetical non-static members of outerClass. | |
| Jul 16, 2014 at 15:42 | history | answered | Robert Harvey | CC BY-SA 3.0 |