Java Program Input And Output Devices