How To Take Array Input In Java Without Scanner