Full Stack Developer (Java) Question: Download Questions PDF
Please explain what is Event Loop?
![Full Stack Developer (Java) Interview Answer Full Stack Developer (Java) Interview Question](https://globalguideline.com/public/images/interview/16.png)
Answer:
Node.js is a single threaded application but it support concurrency via concept of event and callbacks. As every API of Node js are asynchronous and being a single thread, it uses async function calls to maintain the concurrency. Node uses observer pattern. Node thread keeps an event loop and whenever any task get completed, it fires the corresponding event which signals the event listener function to get executed.
Download Full Stack Developer (Java) Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell us why isn’t String‘s .length() accurate? | Explain me what is the JIT? |