Daemon thread in Java
Daemon thread is a low priority thread (in context of JVM) that runs in background to perform tasks such as garbage collection (gc) etc., they do not prevent the JVM from exiting (even if the daemon thread itself is running) when all the user threads (non-daemon threads) finish their execution. JVM terminates itself when all user threads (non-daemon threads) finish their execution, JVM does not care whether Daemon thread is running or not, if JVM finds running daemon thread (upon completion of user threads), it terminates the thread and after that shutdown itself.
https://noidatut.com/oops-using-java/...
Sur cette page du site, vous pouvez voir la vidéo en ligne Daemon thread in Java durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur NoidaTut E-Learn 25 novembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 11 fois et il a aimé 0 téléspectateurs. Bon visionnage!