QSet Logo
Public
QS

@qs_by_qset

Created this 5 months ago

Java Performance Questions

Less than 10 submissions

A collection of Java performance questions and answers.

Stop reading

Practice these questions and get feedbacks! It will help you improve your answer.

Ads section

1. What is the difference between a thread-safe and a thread-unsafe class in Java?

2. What is the purpose of the finalizer method in Java?

Please login to your account to view this. Login

3. What is the difference between a thread and a process in Java?

4. What is the purpose of the Fork/Join Framework in Java?

5. What is the difference between a blocking and a non-blocking I/O operation in Java?

6. What is the difference between a synchronized method and a synchronized block in Java?

7. What is the difference between a thread group and a thread pool in Java?

8. What is the purpose of the NIO API in Java?

9. What is the purpose of the volatile keyword in Java?

10. What is the purpose of garbage collection in Java?

11. What is the difference between a soft reference and a weak reference in Java?

12. What is the difference between a stack and a heap in Java?

13. What is the purpose of the synchronized keyword in Java?

14. What are the different types of garbage collectors in Java?

15. What is the difference between a deadlock and a livelock in Java?

16. What is the purpose of the wait() and notify() methods in Java?

17. What are the different types of thread pools in Java?

18. What is the purpose of the ThreadLocal class in Java?

19. What is the difference between a lock and a semaphore in Java?