AddThis

Thursday, 26 July 2018

Interview questions - Java, Spring, Hibernate, Angular, Log4j and SQL


Java:
  1. What is Future in Java?
  2. What is use of Rx Java liberary? - IRIS
  3. What are design principles (not design pattern)? - IRIS
  4. Difference between Pojo and Bean? - HCL
  5. Improvement in Hashmap in Java8?
  6. What is use of JMX? - IRIS
  7. Difference between SAX and DOM parsers?
  8. What is NGINX server?
  9. What if I change text in .class file?
  10. Difference between aggression and composition?
  11. We should use SOAP or REST in our application? How to decide it? Mention points? - Metlife

Spring:

  1. What is Interceptor and how to create interceptor in Spring?
Hibernate:
  1. Difference between evict, clear and flush methods?
  2. What is multi-tenancy in Hibernate 4? - Vinculum Noida
  3. Difference between JPQL and HQL?
  4. What is Event Listener and how to create Event Listener in Hibernate?
  5. How to implement composite primary key in Hibernate? Answer

UI/Angular:
  1. Difference between var and let? - IRIS
  2. Explain types of binding in Angular 2? - IRIS
  3. Difference between promise and observable? - IRIS
  4. Difference between Angular 1 and Angular 2? - HCL
  5. What is Closure in JS?
  6. What is digest in Angular 1?
  7. Difference between null and undefined in JS?
  8. What are Accessibility guidlines?
  9. Define steps to improve performance of Angular application?
  10. What is ng-content in Angular 4?
  11. What is renderer in Angular 4?
  12. How to show tabs on basis of different roles? DMI
  13. How will search work? for example user types 'a', one request goes to server, mean while user types 'ab' again second request goes to server to get data. I have to show only latest data. How to achieve it? DMI
  14. Which forms have you worked on? Reactive or template-driven? DMI
  15. How to manage timezones in angular? DMI
SQL:
  1. How to combine records of two tables? (Unior) - IRIS
  2. Find second maximum salary of an employee?

Log4j:
  1. Difference between info and trace in logger?

Algorithm/Program:
  1. Find missing number from an array having numbers from 1 to n in sequence?

No comments:

Post a Comment

Solving real time queries using java 8 features stream api with examples

package com.pse; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java...