What is getId in Java?

Java Thread getId() method The getId() method is used to return the thread identifier . The thread ID is a unique positive number which was generated at the time of thread creation. The thread ID remains unchanged during its lifetime.

Sizin İçin Seçtik  What does getName return in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is getId in Java?

Java Thread getId() method The getId() method is used to return the thread identifier . The thread ID is a unique positive number which was generated at the time of thread creation. The thread ID remains unchanged during its lifetime.

Sizin İçin Seçtik  What is daemon thread in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *