News

This post explains how to use classes in Java to build objects and organize your code. Also learn: constructors, static methods, and more!
Use Java assertions to test your assumptions about program correctness and check them in your code.
Although iterators in Java have taken different forms, using an active iterator was essentially the only viable option prior to Java 8.
Which version of Java should you use in Linux? Learn how to easily switch between different versions with a tutorial from Jack Wallen.
We discuss how to work with directories, sub-directories, and traverse them using Java and the DirectoryStream method. Learn more.
The functional consumer interface is a key part of the Java Streams API. Here is a simple Consumer interface example to show you how to use this Java component.
This post explains how to use for loops in Java. Including advanced tricks like nested for loops, break, continue, and labels!