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
Anubhav Kumar Guptaanubhav2103.hashnode.dev·Jul 31, 2024String Class in JavaWhat is a String? Let's start with the basics. In Java, a string is essentially a sequence of characters. Think of it as a collection of letters, numbers, or symbols enclosed within double quotes. For instance, "Hello, Anubhav" is a string. The Strin...10 likesJava
Sudarshan Doiphodesudarshandoiphode.hashnode.dev·Nov 24, 2023"isBlank() vs. isEmpty() – Which One Should You Choose?"Introduction If you are a Java developer, then definitely you have used String class and its methods in your career. But some of you might have also used one of the isBlank or isEmpty methods and some of you always get confused about choosing one of ...10 likes·133 readsString class in java