Java Program Example With Output Devices