Java Memory Explained (Stack vs Heap, References & Strings) | Spring Boot Blueprint #6.5

Confused about stack vs heap, references, and why String behaves differently? Learn Java memory model, String immutability, and String…