Domanda di colloquio di Accenture

Why String is Immutable , code snippet questions on String , Exceptions hierarchy and one code snippet what will be the output which was easy. What is Singleton class and how to break and protect singleton class rules and what is double locking in Singleton. What is SOLID principle and few questions on Java 8 like write lambda expression for sum of two numbers . What are intermediate and terminal operations you have used and advantages and disadvantage of Streams. In Spring Boot what is purpose of @SpringBootApplication annotation and what is dependency injection and what is qualifier and what is actuators and what is JPA and what are other annotations you have used. Overall questions are direct and easy