Blog Archives

01: Q01 – Q07 Spring framework core interview Q&As

Spring framework interview questions are very common for the Java programmer jobs. This covers Spring framework beginner interview questions on the Spring core and more advanced Spring framework interviewcquestions at Java microservices interview questions.

Q1. What do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container?
A1. The differences are very subtle and can be hard to understand. Hence, explained via code samples.

1) Dependency Inversion Principle (DIP): is one of the 5 OO design principles abbreviated as “SOLID”, and “D” …

Tags:

01: Spring DI & IoC interview Q&As

Video: Spring DIP, DI, and IoC. This extends 13 Spring interview questions & answers. Q1. What do you understand by the terms Dependency Inversion Principle (DIP), Dependency Injection (DI) and Inversion of Control (IoC) container? A1. Dependency Inversion Principle (DIP) is one of the 6 OO design principles abbreviated as…



01b: Q08 – Q13 Spring interview Q&As

This extends 13 Spring basics Q1 – Q7 interview questions & answers. Q8. Can you describe the high level Spring architecture? A8. A Spring Bean represents a POJO (Plain Old Java Object) performing useful operation(s). All Spring Beans reside within a Spring IoC Container. The Spring Framework hides most of…

Tags:

04 17 Spring bean life cycles & scopes FAQs

Q1. Does Spring dependency injection happen during compile time or runtime? A1. Runtime during creating an object. Q2. What is the difference between prototype scope and singleton scope? Which one is the default? A2.Singleton means single bean instance per IoC container, and prototype means any number of object instances per…

Tags: , ,

05: 9 Spring Bean scopes interview Q&A

Q1. Does Spring dependency injection happen during compile time or runtime? A1. Runtime during creating an object. Q2. What is the difference between prototype scope and singleton scope? Which one is the default? A2. Singleton means single bean instance per IoC container, and prototype means any number of object instances…

Tags:

300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials

Top