Statement

Submitted by: 
Introduction: This tutorial page will talk about the short hand version of an if else statement. Important: I highly recommend you read through the If Else tutorial page before reading this tutorial. How is the short hand if else statement structured? The short hand version of an if else statement is used through a couple of symbols, here is the layout of the statement; Action (setting a variable...
Submitted by: 
Introduction: Welcome to a tutorial page on how to use a Switch statement within Java. What is a Switch statement? A Switch statement is used to check multiple cases or conditions for a particular instance. In Java 7, switch statements can be used for Strings and Integers whereas older versions of Java can only use Integers in a switch statement. When is a Switch statement used? A switch...