Posts

Showing posts with the label JavaJDK

🧠 What is Stack, Heap Memory, and String Pool in Java?

If you’ve started learning Java, you’ve probably heard people say things like: “That variable is stored on the stack,” or “The object lives in the heap.” And then there’s something called the String Pool — sounds confusing, right? Don’t worry 😄 — this post will make everything super simple to understand. 🧩 Let’s start with: What happens when you run a Java program? When your Java code runs, the JVM (Java Virtual Machine) divides memory into different sections . The two most important ones are: Stack Memory Heap Memory Let’s see what each one does 👇 🥞 1. Stack Memory — for short-term data Think of Stack Memory as a temporary notebook 📒 that the JVM uses to store small, short-lived data. ✳️ Used for: Primitive variables ( int , char , boolean , etc.) References to objects (not the objects themselves) Method calls and local variables Every time a method is called, the JVM creates a stack frame for it. When the method finishes, its frame is r...

SonarQube With Angular 19 on Windows: A Complete Setup and Integration Guide

  Welcome to my detailed tutorial on integrating  SonarQube  with an  Angular 19  project on  Windows ! This video will guide you through the installation and configuration process for SonarQube to analyze your code quality and improve the development workflow. In this step-by-step guide, we’ll set up the required software, configure the necessary tools, and integrate  SonarQube  with an  Angular 19  project. Whether you're a beginner or an experienced developer, this tutorial will help you understand how to run effective code analysis using SonarQube. Here is my youtube link ::::  https://youtu.be/PvwvgoMrngk What You Will Learn: In this tutorial, we will cover the following key steps: Installing Required Software:  Before starting, we need a few software installations: SonarQube:  Used for analyzing code quality and identifying issues such as bugs, vulnerabilities, and code smells. SonarScanner:  A tool used to send...