How To Generate An Array In Java