結果 : how to get input without scanner in java