Ahamad Basha NSintro-to-c-net-core.hashnode.dev·Dec 14, 2024StringBuilder in C#In C#, the StringBuilder class is a mutable sequence of characters designed for efficient string manipulation. Unlike String objects, which are immutable, StringBuilder allows you to modify its contents without creating new instances. This makes it p...C#
Anubhav Kumar Guptaanubhav2103.hashnode.dev·Aug 9, 2024Why Strings Are Immutable in Java.Introduction So, you've started your Java journey, huh? Welcome to the club! One of the first things you'll encounter is the concept of Strings. And while they might seem simple at first, there's a crucial aspect that sets them apart from other objec...8 likes·34 readsJava
Anubhav Kumar Guptaanubhav2103.hashnode.dev·Aug 7, 2024String v/s StringBuffer v/s StringBuilder.A simple comparison of String, StringBuffer, and StringBuilder: FeatureStringStringBufferStringBuilder MutabilityImmutable (cannot be changed)Mutable (can be modified)Mutable (can be modified) Thread SafetyNot applicable (immutable)Synchroni...9 likesJava
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Jul 6, 2024What do you mean by StringBuffer is a thread safe implementation?StringBuffer: The Thread-Safe String Builder In our previous post, we explored StringBuilder, a powerful tool for efficient string manipulation in single-threaded environments. Today, we'll shift our focus to its synchronized cousin, StringBuffer. Wh...2 likes·27 readswhystringbuffer
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Jul 5, 2024What do you mean by StringBuilder is not a thread safe ?Hello Developers 🧑💻, I have been asking this question in interviews most of the time, and I get disappointed by candidates. Everyone knows StringBuilder helps in creating mutable string objects because a normal String object is immutable. But when...1 likewhy stringbuilder
Jeet Bhalujeetbhalu.hashnode.dev·Mar 13, 2024Dart String Manipulations: String BufferStringBuffer: A StringBuffer is use to multiple data add in one string to use and StringBuffer is provide multiple sequence characters. void main() { StringBuffer str =StringBuffer(); str.write("Hello"); str.write(","); s...Dart String Manipulations: String Buffer
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Oct 31, 2023StringBuffer Vs StringBuilderFrom an Interview point of view, StringBuilder and StringBuffer are the most important topics that everyone should learn in Java. A) Key Points of StringBuffer and StringBuilder: What are StringBuffer and StringBuilder: Both are classes in Java us...219 readsstringbuilder