×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

What is a deadlock in Java?

58. What is a deadlock in Java?

  1. State when all processes have complete working and are dead
  2. State when threads are in hold state forever
  3. State when threads are not ready
  4. All of these

Answer: B) State when threads are in hold state forever

Explanation:

Deadlock in Java is a condition when two or more threads try to access the same resources at the same time.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.