Friday, July 23, 2021

Top MNC Latest Java & Spring Boot interview Questions 4 yrs

 Java:

  • What is the difference between Collection and Collections?
  • List out all the interfaces in collection package
  • What is the difference between ArrayList and LinkedList? And when to use it?
  • What is exception propagation?
  • If 1 is input, output should be print as 0. and vice versa. write a algorithm?
  • What is the difference between abstract class and interface in java8?
  • About string pool
  • Threads
  • finally vs finalize
  • can we write try with out catch?

Spring:

  • Explain about spring boot
  • Spring Bean life cycle
  • Difference between @Controller and @RestController
  • Use of @Qualifier
  • About @ComponentScan
  • @Component vs @Service vs @Repository
  • What ApplicationContext and different types
  • Difference between BeanFactory and ApplicationContext
  • What is Actuator?
  • How to check health of a new REST service?
  • What is Docker?
  • About k8s

No comments:

Post a Comment