Object vs Class
Thursday, June 13, 2024 in Java Interview Questions
Object vs Class Class Object Definition Blueprint for creating objects Instance of a class public class Main { public static void main(String[] args) { Car myCar = new Car("Toyota", 2000); myCar.displayInfo(); // Make by Toyota in 2000 } } …
Hashmap
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 hashmap intro …
Dependency Injection (DI)
Thursday, June 13, 2024 in Spring Interview Questions
Dependency Injection (DI) DI is one of the primary ways to implement IoC Through DI, components receive their dependencies from IoC container rather than creating them themselves Type Constructor Injection Method Injection Property Injection
SQL Database vs NoSQL Database
Thursday, June 13, 2024 in SQL Server Interview Questions
SQL Database vs NoSQL Database SQL Database Suitable for applications requiring a fixed schema Support complex queries Strict data integrity ACID properties Atomicity A transaction is all-or-nothing Consistency Database remains in valid state before …
Linked List
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 linked list …
JDK vs JRE vs JVM
Thursday, June 13, 2024 in Java Interview Questions
JDK vs JRE vs JVM JDK (Java Development Kit) JRE (Java Runtime Environment) JVM (Java Virtual Machine) Definition Development toolkit for Java Runtime environment for Java Abstract machine to run Java bytecode Components JRE + development tools …
Inversion of Control (IoC)
Thursday, June 13, 2024 in Spring Interview Questions
Inversion of Control (IoC) IoC is a software design principle that decouples components and shifts control over program execution from the main application to a container Pros Components are loosely coupled
Tree
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 tree intro …
Spring Framework
Thursday, June 13, 2024 in Spring Interview Questions
Spring Framework The Spring Framework is an open-source framework for building Java applications Core Concepts Inversion of Control (IoC) Dependency Injection (DI) Bean Inversion of Control (IoC) Container Aspect-Oriented Programming (AOP)
Keyword
Thursday, June 13, 2024 in Java Interview Questions
Keyword Access Modifiers public protected default (no keyword required) private Non-Access Modifiers static final abstract synchronized volatile Class-Related Keywords class extends interface implements enum record Object-Related Keywords new this …