Arshi Saxena

Arshi Saxena @arshisaxena26

About: Full Stack Developer | Java, Spring Boot, Angular Expert

Location:
Jaipur, India
Joined:
Feb 8, 2024

Arshi Saxena
articles - 40 total

Mastering SOLID Principles for Java Interviews

The SOLID principles are foundational guidelines for writing maintainable, scalable, and flexible...

Learn More 12 1Dec 10 '24

Sorting Smarts in Java: TreeSet and TreeMap

In our previous post, we discussed Comparable and Comparator, which are the building blocks for...

Learn More 9 0Dec 7 '24

Sorting Smarts in Java: Comparable and Comparator

Sorting is a fundamental operation in Java, especially when dealing with collections. Java offers two...

Learn More 5 0Dec 6 '24

Demystifying hashCode() and equals(): The Backbone of Java Hash Collections

When working with Java's hash-based collections like HashMap and HashSet, the methods hashCode() and...

Learn More 6 0Dec 5 '24

StringBuilder vs StringBuffer in Java

In Java, when working with mutable strings (strings that can be modified), you may need to choose...

Learn More 17 2Nov 11 '24

Strings: Understanding Mutability and Immutability

In Java, strings are often manipulated, combined, and stored across applications, so understanding...

Learn More 10 2Nov 10 '24

Strings: Checking for Palindromes

In this post, we’ll walk through a common interview question—checking if a given string is a...

Learn More 7 2Nov 9 '24

Strings: Basic Methods in Java-Interview Essentials

Strings are a fundamental part of almost every Java application. Whether you are building complex...

Learn More 11 2Nov 8 '24

Strings: Garbage Collection and Immutability in Java

In Java, strings play a unique role in memory management due to their immutability and interning...

Learn More 9 0Nov 6 '24

Strings: String Pool and Memory Management in Java

Understanding how Java handles strings is essential, especially since strings are immutable and...

Learn More 10 0Nov 5 '24

Exploring Nuances of the Java Scanner Class

The Scanner class in Java is a powerful tool for taking user input. However, it comes with some...

Learn More 8 0Nov 4 '24

Polymorphism: Decoding Method Overriding in Java

Method Overriding is one of the core concepts of polymorphism in Java, allowing a subclass to provide...

Learn More 14 0Nov 1 '24

Polymorphism: Decoding Method Overloading in Java

Method overloading is a form of compile-time polymorphism that allows us to define multiple methods...

Learn More 10 2Oct 31 '24

Abstraction: Abstract Class vs Interface

When designing software in Java, choosing between abstract classes and interfaces can have a big...

Learn More 13 0Oct 30 '24

Abstraction: Decoding Interfaces in Java

In Java, Interfaces serve as contracts that classes must adhere to. Since an interface only provides...

Learn More 7 0Oct 29 '24

Abstraction: Decoding Abstract Classes in Java

In this post, we explore Abstract Classes, an essential part of abstraction in Java. We'll build on...

Learn More 7 0Oct 28 '24

Cracking OOP in Java: A PIE You’ll Want a Slice Of

In this post, we’ll explore the four fundamental pillars of Object-Oriented Programming (OOP) in...

Learn More 15 0Oct 26 '24

Static Keyword: Overloading, Overriding, and the Role of this and super

This post extends our previous discussions on the static keyword by focusing on the concepts of...

Learn More 9 0Oct 25 '24

Static Keyword: Accessing Static and Non-Static Members in Methods

In this post, we’ll focus on how methods interact with static and non-static members and why static...

Learn More 11 0Oct 24 '24

Static Keyword: Decoding Static Variables in Java

Welcome back to the Java Keywords Essentials series! This post is all about static variables—a...

Learn More 6 0Oct 21 '24

Static Keyword: Decoding Static Blocks in Java

Welcome to the first post in our series on the static keyword in Java! In this series, we’ll break...

Learn More 11 0Oct 19 '24

Mastering the final Keyword in Java: Constants, Immutability, and More

The final keyword is one of the most fundamental tools for creating constants and ensuring...

Learn More 7 3Oct 18 '24

Mastering SUPER Keyword in Java: Unlocking Inheritance and Constructor Chaining

In this post, we’ll dive deep into the super keyword and explore how it works in different scenarios....

Learn More 7 0Oct 17 '24

Mastering THIS Keyword in Java: A Key to Clean and Effective Code

The this keyword in Java serves as a reference to the current object. It enhances code readability...

Learn More 8 0Oct 16 '24

HashMaps in Action: Tackling a Common Java Interview Challenge

Technical interviews often feature questions that test your understanding of collections, especially...

Learn More 6 0Oct 15 '24

Exploring HashSet: A Dive into Unordered Collections

Introduction The HashSet class is part of the Java Collections Framework, providing a...

Learn More 13 3Oct 14 '24

Cracking the Basics of HashMap: Key Concepts for Java Developers

Introduction Understanding the HashMap class is essential for developers, both in...

Learn More 10 6Oct 13 '24

Arrays vs. ArrayLists: A Must-Know Topic for Java Interviews

When preparing for Java interviews, one common question that often trips up candidates is the...

Learn More 6 0Oct 12 '24

Understanding ArrayList: Essential Knowledge for Interviews

In this post, we'll explore the basics of the ArrayList in Java, one of the most commonly used...

Learn More 9 2Oct 10 '24

Understanding Memory Leaks in Java: Common Causes and How to Detect Them

Memory management is a critical aspect of developing efficient applications in Java. A memory leak...

Learn More 5 2Oct 8 '24