- Explain concurrency utils i.e. Atomic package? (Answer)
- How AtomicInteger works internally? (Answer)
- What is a volatile keyword? (Answer)
- Why is AtomicInteger class better than a synchronized counter class? (Answer)
- What is CAS?(Answer)
- How does Executor work? (Answer)
- What is a future? How is it used in ExecutorService? (Answer)
- What is difference between ExecutorService and ForkJoinPool? (Answer)
- Design your own custom Threadpool executor with minimal functionality? (Answer)
- Explain Java Memory Model? (Answer)
- Explain Producer Consumer Problem using Blocking Queue in Java? (Answer)
- How will you implement your own thread-safe blocking queue in Java? (Answer)
- Write a code to create a thread-safe Singleton class. (Answer)
- Explain decorator design pattern? (Answer)
- What is Singleton Design Pattern, how will you make it thread-safe?(Answer)
- Explain static and dynamic loading in Java.
- What is the difference between a abstract class and an interface.
- What is difference between ExecutorService and ForkJoinPool?
- Write a program to calculate Factorial of a number using recursive function. To improve the performance, try to use HashMap, which will store the calculated factorials that can be reused. (solution)
- Best sort for already sorted array.(solution)
Pages
▼
No comments:
Post a Comment