Java | News, how-tos, features, reviews, and videos
The build pipeline is the engine of your software development lifecycle, so it pays to keep it tuned up and running right. Here are nine newer and better ways to build code.
Learn everything you need to throw, try, catch, and clean up after Java exceptions in your programs.
Use Java's packages and static imports to organize top-level types and simplify access to their static members.
Learn how to use the four types of nested classes to better organize your Java code.
Reflection was essential to the advanced Java toolkit for years. Now it's being superseded by newer, safer options. Here's how to use MethodHandle and VarHandle to gain programmatic access to methods and fields.
Learn how and why Java developers use method overloading, then test your learning against the Java virtual machine itself.
Learn the four types of polymorphism in Java, then start using subtype polymorphism to execute different forms of the same Java method.
Have you ever wondered how Java's String methods, keywords, and operators process comparisons in a String pool? Here's your chance to find out!
Streams and lambdas give you powerful and elegant ways to work with Java collections. Here’s how to take advantage of them.
OpenJDK proposal would boost Java application startup speed by having classes made available in a loaded and linked state when the JVM starts.