Thread thbus = new Thread(bus);
bus.setName("Bus"+ thbus.getId());
Thread thmechanics = new Thread(bus);
bus.setMechanicsName("Mechanic "+ thmechanics.getId());
thbus.start();
These generate threads that are in my other classes. The "Mechanic "+ thmechanics.getId() line will print "Mechanic" + a random number. I want to know if there is a way to use the .getId() to print random number between (1-5).