How To Print Array Elements In Single Line In Java