How To Take Array Input In Java Without Size 40