This is a fairly fundamental concept in
Java, something everyone is expected to know well about. You may want to spend some time reading about Threading. If you are a beginner just getting into Java, you will encounter this chapter eventually in your course.
All the best.