Class Exercise3_10

java.lang.Object
  extended byExercise3_10

public class Exercise3_10
extends java.lang.Object

Exercise 3.10 from the book

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk

Constructor Summary
Exercise3_10()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method.
static void withBreaks()
          A switch statement with break statements.
static void withoutBreaks()
          A switch statement without break statements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exercise3_10

public Exercise3_10()
Method Detail

withBreaks

public static void withBreaks()
A switch statement with break statements.


withoutBreaks

public static void withoutBreaks()
A switch statement without break statements.


main

public static void main(java.lang.String[] args)
The main method. Runs the two methods.