Added SwitchDemo.java