R1-Screening: Detailed discussion on previous project, architecture, what design patterns used and follow-ups on them. R2-Technical: Query to find customers who placed more than 5 orders, From a list of integers, filter out even numbers, square them, and collect into a new list using Java Streams, How Hashmap works internally, Two Sum Optimal Solution. R3-Technical: How Polymorphism is achieved in Java, why overriding is called runtime polymorphism, what is composition, Explain SOLID design principles, Abstract Factory vs Factory , Singleton design pattern, Showed a code blocked and asked what changes I will make to make them adhere to SOLID principles, Comparator vs Comparable, Eager vs Lazy Loading, How to achieve Dependency Injection in Spring Boot, how to pass different profiles(dev,stage,prod) for your app (JVM arguments), Checked vs Unchecked exceptions, Try, finally block, Controller Advice, Lets say Method A calls Method B, How would you propagate any exception thrown from Method B to A, Hibernate questions, how would you resolve circular dependency, Optimistic vs Pessimisstic Lock, Different Methods to create Threads in Java, Lambda function to filter a List with id > 3 and sort them in decending order based on their names, Hashset vs Hashmap , Does hashset maintain insertion order, if no which Collection of Set can be used to maintain insertion order, can we achieve Multiple Inheritance in Java.
Java Software Engineer Interview Questions
3,075 java software engineer interview questions shared by candidates
Mostly on REST, JAVA 8 Features, Spring framework
Core Java, Spring and Algorithms questions.
It was a coding interview. There are no specific questions.
2 of them about 2D array.
Advantage of String constant pool? Advantage of using finally block? Advantage of using Optional class in Java? How will 2 microservices communicate with each other? What is API Gateway?
Oops, collection, core Java, Java 8, springboot, hibernate
Interviewer asked more about latest versions questions, How you handled difficulties in your project , Some basic questions of Java and Spring boot along coding.
They asked me about my Technical Intro, Technology stack, and all technical and project related questions.
Java 8 features Spring Boot
Viewing 951 - 960 interview questions