Wednesday, February 18, 2015

UBS Java Interview Questions

1. How will you design online library management system using TDD and Agile ? Using testcases for requirements.
2. Talk about concurrency utils i.e. Atomic package ?
3. What is a volatile keyword ?
4. What is a future ?
5. What is decorator design pattern ?
6. Design your own custom Threadpool executor with minimal functionality.
7. Explain Java Memory Model.
8. Why is AtomicInteger class better than a synchronized counter class ? What is CAS ?
9. What is difference between ExecutorService and ForkJoinPool ?
10. Explain Producer Consumer Problem using Java Code.
11. How will you implement a blocking queue ?

No comments:

Post a Comment

Your comment will be published after review from moderator