You don't know which is which. If you need to know, then you can provide a name for the Threads in their constructors, and use the getName() method instead of the getId() method. But this is just one of those certification questions which throw goofy scenarios at you so you can learn about
Java, right? So for this example I don't think you really need to know the IDs or names of the threads.