News

Java, the programming language used by millions of developers, is now even better. The launch of Java 8 on March 25 represents the most significant update to the Java programming model ever, and ...
Print and format a table with printf Sometimes it’s nice to format the output of a console based Java program in a friendly way. The java.lang package has no built-in table generators, but you can ...
This post explains how to use if statements in Java. Discover why flow control is so important, and how to use advanced keywords like "and" and "else." ...
Quickly learn how to use the Java ternary operator and see how this simple programming construct can help make your conditional logic, if statements and return statements clearer and more concise.
Using generics results in more robust code and avoids ClassCastExceptions in your Java programs. This in-depth tutorial introduces you to generics and their types and methods.
Which version of Java should you use in Linux? Learn how to easily switch between different versions with a tutorial from Jack Wallen.
This post explains how to use loops in Java. Learn for loops, while loops, do while, break, and continue. All without going loopy!