2 ms·
What so you mean by that? By static class people typically mean that every method has static in it, so you never have reason to create an instance. Static insi
by watwut 4y ago
What so you mean by that? By static class people typically mean that every method has static in it, so you never have reason to create an instance.
Static inside inner class is something else entirely and has nothing to do with topic of this thread.
- ziml77 4y agoThey may be trying to say that Java doesn’t have static classes that match C# static classes. In C# if a class is marked static it’s enforced as not being able to be instantiated and all of its methods (and fields) must be static.