In a situation where multiple asynchronous tasks are initiated by a servlet, how is the completion of these tasks managed?

  • Each asynchronous task manages its completion independently.
  • The servlet prioritizes tasks based on their initiation order.
  • The servlet waits for all tasks to complete before proceeding.
  • The tasks are completed in a random order.
Each asynchronous task manages its completion independently, allowing them to finish in parallel without waiting for others to complete.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *