Imran Khan·Aug 31, 2022Java Static Keyword Complete GuideComplete guide to get complete understanding of static keyword with variable, method, block and class.A response icon2
InCodeXbyAlonso Del Arte·Jun 1, 2022Finer points of Java: the difference between nested, inner and anonymous classesA Java project usually has several classes, each defined in its own source file by itself. Sometimes, though, it’s convenient to put one…
InCodeXbyAlonso Del Arte·May 5, 2022A couple of use cases for nested static classes in JavaWhenever you can use an anonymous class, you can use a named nested static class instead. But that only makes sense if you need to…