1. at LINE 0 why this object is made of class Object? In line 0, ir is instantiating an object -- most likely for use as an syncrhonization object.
2. at LINE 1 what is the use of syncObj there? As suspected from the previous point, the object is used as a syncrhonization object.
3. at LINE 2 Does the g() mehtod anything to do with threading? Keep in mind that the main
thread is still a thread. Just because you didn't start it doesn't mean that it doesn't relate to threading. It is still running concurrent to the threads that you started.
Henry