While facing Java/J2EE interview questions you may come across this question by the interviewer. So you can your start with the answer as follows.
public class ThreadPool implements ThreadPoolInt.
This class is an generic implementation of a thread pool, which takes the following input: -
Interested to learn more, then view the following detailed video on Java Builder pattern which is also asked during Java/J2EE interview questions: -
Visit for more Java/J2EE interview questions series.
Regards,
Also visit author’s blog for more Java/J2EE interview questions
public class ThreadPool implements ThreadPoolInt.
This class is an generic implementation of a thread pool, which takes the following input: -
- Size of the pool to be constructed.
- Name of the class which implements Runnable and constructs a thread pool with active threads that are waiting for activation. Once the threads have finished processing they come back and wait once again in the pool.
Interested to learn more, then view the following detailed video on Java Builder pattern which is also asked during Java/J2EE interview questions: -
Visit for more Java/J2EE interview questions series.
Regards,
Also visit author’s blog for more Java/J2EE interview questions