News

Why use typesafe enums, not enumerated types. An enumerated type specifies a set of related constants as its values. Examples include the days in a week, the standard north/south/east/west compass ...
Abstract classes and interfaces in Java serve fundamentally different purposes. Learn the differences between these Java language elements and how to use them in your programs.
Java does enable the option to mark a class as final to eliminate the ability to perform inheritance complete, but that is often too heavy of a hammer to drop. Marking a class as final prevents all ...
This post explains how to use classes in Java to build objects and organize your code. Also learn: constructors, static methods, and more!