What is the factory pattern and builder pattern? When would you use 1 over the other?
Java Software Engineer Interview Questions
4,192 java software engineer interview questions shared by candidates
Core Java & Advanced Java Questions
OOP concepts, String concepts, Exceptions, DS - hashmap, Hibernate session questions, mysql query - nth highest salary, 1 coding ques on combinations to check on implementation and strategy
Concepts of OOP in java
What were your reasons for wanting to join them?
Ask about framework experience at work
2. Square the square problem (given big square up to NxN (N<=50) fill it optimally with smaller squares (up to (N-1)x(N-1)) and return number of smaller squares. (this one I failed to solve in 15 minutes)
Live coding for the Generic class stub
Q. Write code to list duplicates elements from an array Q. Find 3rd max salary of employee table Q. Find salary of employees not equal to 20000 Q.what is OOPS concept. Q. What is polymorphism and why we need same name method. Q. What is abstract class and interface Q. Why we need interface in java. Q. What is hashmap .give implementation of hashmap. How it is different from hashtable. Q. Which collections is best when we want thread safe. Q. What is set and hashmap. Q. What is static? Define each static method,static variable and static class. Q. What is immutable.
Explain all pillars of oops.
Viewing 491 - 500 interview questions