Noob Questions From Nickcropheliac: Delaying Spawn Time?

I’m wondering what class would be able to do this. Say for example we have a constantly respawning enemy, and when you kill it, it instantly comes back. How would we delay this? What class? As you can tell, I’m new to Java and I’m stumped as to what it could be.