What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?
A. 0
B. 1
C. True
D. False
Answer: Option D
Solution(By Examveda Team)
The write() method never blocks. If Node cannot write the data immediately and has to buffer it internally, the write() method returns false.Related Questions on Server Side and Client Side Scripting
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
What is the function used to remove all handlers for name events?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
Join The Discussion