1.

What is the result for HandleGet()?(a) Null(b) Zero(c) Empty(d) OriginI have been asked this question in an interview for internship.I would like to ask this question from Multithreading topic in division Going Parallel, Handling Actuator and Sensor of IOT

Answer»

Correct choice is (a) Null

The explanation is: This method GETS the current buffer STATE, without CHANGING it. The method performs the necessary LOCKING to enable safe of the buffer from multiple THREADS. The result may be null.



Discussion

No Comment Found

Related InterviewSolutions