How To Write A Switch Statement In Java