What are the main principles of Object-Oriented Programming (OOP)?
Software Engineer Java Developer Interview Questions
4,203 software engineer java developer interview questions shared by candidates
They ask me to convert Roman to Integer number and Integer to Roman.
multithread concepts, comparable and comparator differences, bean lifecycle, how to make a class immutable, where do you define servlet, which is the starting point for a spring framework. explain MVC framework.hashcode.equals functionality. how hashmap stores work internally.
Basic background questions.
They asked all the questions which a good product based will ask but they can't pay you
program using streams java 8
1 round Medium: Theory + coding. [stream concept , Maven based qns like maven lifecycle, scope of spring, design pattern, Touch all collection concept like [Hashmap, ConcurrentMap, LinkedHashmap, Vector, List]], Stream coding part [count occerance of word]. 2 nd Round [More depth of java and springboot and also javascript as I mention in resume], Memory Management, exception Handling, try with multiple catch block, Transaction, Isolation, propagation. Coding I am not remember because I am not even understood the qns well and due to that I was blank in interview and mostly that I rejected.
Question: Count the email domains List employees = new ArrayList<>(); employees.add(new Employee("A", "A@google.com")); employees.add(new Employee("b", "b@gmail.com")); employees.add(new Employee("C", "C@google.com")); employees.add(new Employee("D", "D@yahoo.com"));
Simple basic Java concept Polymorphism Inheritance Etc
In the pen-and-paper round, all candidates were given the same problem statement. I am not entirely certain if this was the exact wording, but the core requirement was to design a system using abstraction and inheritance principles. Specifically, I had to create an abstract class named Hospital, define abstract methods such as getDescription(), and declare the required variables. Then, I needed to create a Person class with a string variable name, extend it into a Patient class, and override the getDescription() method. Additionally, I was asked to implement simple logic such as retrieving the next patient based on priority. The focus of the question was mainly on understanding abstraction, method overriding, class hierarchy, and applying basic low-level design concepts rather than solving a pure data structures problem.
Viewing 4121 - 4130 interview questions