Most of these questions has been answered in my eBook "Cracking the Core Java Interview" updated on June 2018, that you can buy from this link:
UBS Java Interview Questions
Upasana | July 31, 2020 | 2 min read | 1 views | investment banking
Focus is mostly on Engineering Processes and Code Quality. You must be aware of Agile, Test Driven Development (TDD), various frameworks for Unit Testing, Integration Testing, etc. A good hold over concepts like Multi-threading, Java Memory Model, Garbage Collection, Algorithms, Java Collections, Queues is required. Developer should be familiar with the IDE and its shortcuts - IntelliJ IDEA or Eclipse STS.
Interview Questions
Core Java
-
Talk about concurrency utils i.e. Atomic package?
-
What is a future? How is it used in ExecutorService?
-
Design your own custom Threadpool executor with minimal functionality
-
Why is AtomicInteger class better than a synchronized counter class? What is CAS?
-
What is difference between ExecutorService and ForkJoinPool?
-
Explain Producer Consumer Problem using Blocking Queue in Java
-
How will you implement your own thread-safe blocking queue in Java?
Design Patterns
-
What is decorator design pattern?
-
What is Singleton Design Pattern, how will you make it thread-safe?
Design Problem
-
How will you design online library management system using TDD and Agile? Using testcases for requirements.
Books and References
-
Head First Design Patterns
-
Java Concurrency in Practice By Brian Goetz - must read book for learning concurrency
Top articles in this category:
- Sapient Global Market Java Interview Questions and Coding Exercise
- Morgan Stanley Java Interview Questions
- Multi-threading Java Interview Questions for Investment Bank
- Citibank Java developer interview questions
- Goldman Sachs Java Interview Questions
- ION Trading Java Interview Questions
- BlackRock Java Interview Questions