Get Input From User In Java Without Scanner