Interview questions Round 1 - cleared (Core Java) Round 2 - Failed (I was not prepared that much) Round 1: (30 min , Google meet) 1. Abstract vs Interface 2. Can we overload Main method? Yes 3. Overloading vs Overriding 4. Can we create object of Abstract class (No, only ref can be created) Abstract class is a restricted class that cannot be used to create objects (to access it, it must be inherited from another class). 5. String immutable why? 6. checked, unchecked exception. 7. GET vs POST Method 8. How HashMap works internally (hash collision, hashing algo basic) 9. Can we put duplicate value in hashmap and why? 10 Finalize() ? Round 2: (30 min , Google meet) 1. Share screen and write down what would be the output? String str1="test"; String str2= new String("test"); String str3= "test"; if(str1==str2){ System.out.println("success"); }else { System.out.println("fail"); } if(str1==str3){ System.out.println("success"); }else { System.out.println("fail"); } 2. Share screen and write down SQL to get Average salary of each department Employee EMPID EMPNAME EMPAGE SALARY DEPTID Department DEPTID DEPTNAME DEPTLOCATION https://www.geeksforgeeks.org/finding-average-salary-of-each-department-in-sql-server/ 3. Share screen and write down the JDBC steps. 4. Any front end skills ( I said I know basics of HTML, CSS, JS ) 5. What other systems you worked on ? 6. Why you left previous organization ? 7. Tell me about Design Pattern. Have you worked on Design Pattern? 8. Have you worked on Servers? Apache Tomcat. Is Apache Tomcat, Web server or Application Server ? Difference between Web server and Application Server. 9. Types of iterators in Java? 10. What Stacks you have used in your project? 11. Types of Garbage collector. 12. Can we write try-finally block and no catch block ?