結果 : how to take input in java without scanner class