Aspect-Oriented Programming (AOP)
Thursday, June 13, 2024 in Spring Interview Questions
Aspect-Oriented Programming (AOP) AOP in Spring allows you to separate cross-cutting concerns from your application logic eg. transaction management, logging, security, exception Use @Aspect with @Component on class can create a aspect bean …
Inversion of Control (IoC) Container
Thursday, June 13, 2024 in Spring Interview Questions
Inversion of Control (IoC) Container IoC container in Spring manages the creation and lifecycle of application objects (beans) and their dependencies Type BeanFactory ApplicationContext Extends BeanFactory with more enterprise-specific functionality
Heap
Thursday, June 13, 2024 in LeetCode Notes
Starred by 25+ users, GitHub Repo: LeetCode Pattern 500 offers: 500 solutions for LeetCode problems in Python and Java 17 notes on essential concepts related to data structures and algorithms 130 patterns for solving LeetCode problems heap intro …
Entity Relationship Diagram
Thursday, June 13, 2024 in SQL Server Interview Questions
Entity Relationship Diagram An Entity Relationship Diagram (ERD) is a type of flowchart that illustrates how entities relate to each other within a system
Encapsulation
Thursday, June 13, 2024 in Java Interview Questions
Encapsulation Protect and control access to data Access Modifiers Java provides several access modifiers to set access levels for classes, variables, and methods public Can be accessed from any other class protected Can be accessed from its own …
Entity Relationship
Thursday, June 13, 2024 in SQL Server Interview Questions
Entity Relationship One-to-One Relationship where a record in one table is linked to exactly one record in another table eg. each student has a unique locker One-to-Many Relationship where a single record in one table can be associated with one or …
Constructor
Thursday, June 13, 2024 in Java Interview Questions
Constructor A special method used to initialize objects The constructor has the same name as the class It does not have a return type, not even void It can be overloaded to accept different parameters Type Default Constructor Automatically provided …
Binary Search
Thursday, June 13, 2024 in LeetCode Notes
Starred by 25+ users, GitHub Repo: LeetCode Pattern 500 offers: 500 solutions for LeetCode problems in Python and Java 17 notes on essential concepts related to data structures and algorithms 130 patterns for solving LeetCode problems binary search …
Bean
Thursday, June 13, 2024 in Spring Interview Questions
Bean A bean is a Java object managed by the Spring IoC container Bean Definition Type XML Configuration Define beans in applicationContext.xml Annotation-Based Configuration Define beans by using annotations like @Component on classes Java …
Transaction
Thursday, June 13, 2024 in SQL Server Interview Questions
Transaction A sequence of one or more operations performed as a single logical unit of work Modes to handle transaction in SQL Server Autocommit (default) Each individual statement is considered a transaction Implicit SQL Server starts the …