what is static class? i dnt understand it very well.what is the need of static class...need some help.with real world example.Thanks in advance...
anupam jha
Level 7
static
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Agent Smith
26 December 2020, 20:21
All you need to know for now is this: a static nested class interacts with the instance members of its outer class (and other classes) just like any other top-level class. In effect, a static nested class is behaviorally a top-level class that has been nested in another top-level class for packaging convenience.
There will be much more details about inner classes after level 20.
+2