How To Get Array Input Without Size In Java