1.

An instance of class Buffer provides a threadsafe way of communication between ________(a) Actors(b) Objects(c) Locking(d) BufferThe question was posed to me in a national level competition.My question is taken from Multithreading in section Going Parallel, Handling Actuator and Sensor of IOT

Answer»

Correct option is (b) Objects

To explain: An instance of CLASS BUFFER provides a threadsafe way of communication between actors. A buffer instance BASICALLY acts as a VARIABLE whose current VALUE can be read and written.



Discussion

No Comment Found

Related InterviewSolutions