Sollicitatievraag bij Global Relay

Strategy, Singleton and Builder design patterns. Difference between Singleton as a design pattern and as a Spring Boot context. Singleton vs Prototype. Is Java a pass by value or a pass by reference language? What are immutable objects and how do you make them so? What is a deadlock and how to avoid it? Explain race conditions and how to manage them. If two objects in java are equal, must they produce the same has, and if they produce the same hash, must they be equal?