Java Program Input And Output Definitions