Spawn random objects without overlapping (Java)? (2 Solutions!!)

Published --