Java Program Input And Output Definition