
21.0K
TIDay 14 : Strings
Most beginners think String is just a data type like int or char. But in Java, String is a Class! 🚀
When you write String name = “Tilak”;, you aren’t just storing text; you’re creating an object. Here is the secret: Java uses a special memory area called the String Constant Pool (SCP) to store these. If two variables have the same value, they point to the same memory location to save RAM! 🧠
Key Takeaways:
✅ String is an Object, not a Primitive.
✅ Double quotes = String / Single quotes = Char.
✅ Literal storage happens in the SCP.
Hashtags:
#JavaProgramming #CodingTips #SoftwareEngineering #StringConstantPool #JavaBasics ComputerScience BackendDeveloper JavaTutorial ProgrammingLife TechEducation
@tilaktechkeys










