News

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.
To learn part of a new API or even some important Java nuance, you'll often find it useful to run a short bit of code. In this Java Tip, Shawn Silverman explains how to easily and quickly test one ...
Use Java assertions to test your assumptions about program correctness and check them in your code.