Sail E0 Webinar

MCQs

Total Questions : 22 | Page 3 of 3 pages
Question 21. Thread priority in Java is?
  1.    Integer
  2.    Float
  3.    double
  4.    long
 Discuss Question
Answer: Option A. -> Integer


Java assigns to each thread a priority that determines hoe that thread should be treated with respect to others. Thread priority are integers that specify relative priority of one thread to another.


Question 22. Which of these are types of multitasking?
  1.    Process based
  2.    Thread based
  3.    Process and Thread based
  4.    None of the mentioned
 Discuss Question
Answer: Option C. -> Process and Thread based


There are two types of multitasking: Process based multitasking and Thread based multitasking.


Latest Videos

Latest Test Papers