Random class -while creating the object we must set the chagning like System.currentTimeMillis- this is called a seed - while accessing random.nextInt(<set-range>)