News

Introduced in Java 5, generics enhance the type safety of your code and make it easier to read. This helps you avoid runtime errors like the ClassCastException, which happens when you try to cast ...
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 ...
Java without a main method. Historically, Java devs have had to code a main method every time they want to run a tiny snippet of code, a tedious and annoying requirement. IDEs such as Eclipse and ...