Daemon thread

Elaborate daemon thread and which method is used to create a daemon thread?

E

Expert

Verified

An objects lock is a mechanism which is used by multiple threads to acquire synchronized access to that object. A thread can execute a synchronized method of an object only after it has attained the objects lock. All the objects and classes contain locks. A class's lock is attained on the class's Class object.

   Related Questions in JAVA Programming

©TutorsGlobe All rights reserved 2022-2023.