Nest classes with care
New topic. Prefer static nested classes if possible. Enumerates the various kinds of nested classes.
View ArticleOpen file in native directory
New topic. Open and access a file residing in the same directory as the class that uses it.
View ArticleMeasure application performance
Now mentions the new Java Mission Control tool, that comes bundled with the JDK (7u40).
View ArticleDon't use tab characters
Added a note about negative indentation. Recommended indentation of 2-4 spaces. Added quote from Code Complete.
View ArticleUse @Override liberally
Clarified how @Override grew to be applied to interface methods as well, as of JDK 7.
View ArticleDon't pass 'this' out of a constructor
Clarified the terms, and clarified the three ways a 'this' reference can be used in a constructor. (Thank you Andrew Sackett.)
View Article
More Pages to Explore .....