How does java thread pool work?



How does java thread pool work?..

Answer / Rohit Singh Yadav

A Java thread pool manages a fixed or configurable number of worker threads that can execute tasks concurrently. The pool maintains a queue for tasks to be executed when threads are available, ensuring efficient utilization of system resources and preventing the creation of too many threads.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

Why is httpservlet declared abstract?

1 Answers  


What is the GenericServlet class?

1 Answers  


waht is the main diference b/w servelts and JSP ?

8 Answers   CAP, HCL,


What is a servlet context object?

1 Answers  


What is servlet lazy loading?

1 Answers  


What are the advantages of Servlet over CGI?

1 Answers  


Which interface should be implemented by all servlets?

1 Answers  


What is the difference between genericservlet and httpservlet

1 Answers  


1.HttpSession 2.Hidden fields 3.URL Rewriting these primitive type of Session maintainance. What is the other type of process that could help to maintain the Session? pls Explain the process if u know?

5 Answers   OnMobile,


How do cookies work in servlets?

1 Answers  


Why don't we write a constructor in a servlet?

1 Answers  


Explain the concept of ssi ?

1 Answers  


Categories