Multiple choice technology programming languages

Which of the following are methods of the Thread class.

  1. public void run()

  2. public void start()

  3. public void exit()

  4. public final void setAccess()

  5. public final void setPriority(int priNbr)

  6. public final int getPriority()

Reveal answer Fill a bubble to check yourself
A,B,E,F Correct answer
Explanation

The methods run(), start(), setPriority(int), and getPriority() are standard methods defined in the java.lang.Thread class used to manage thread execution and priorities. Methods exit() and setAccess() do not exist in the Thread class, making them incorrect.