Learn about mutable Strings and ways of mutating a String.
Also find me here:
Baeldung Author
Bhaskar Ghosh
Hi, I am Bhaskar Ghosh Dastidar. Software Engineer. Foodie. Cinephile. INTP.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (5)
- Java String (2)
- Java Collections (2)
- Java Array (1)
Deprecate Finalization in Java 18
Filed under Java
Learn about the reason behind Java’s decision to deprecate finalization for removal.
String Templates in Java 21
Filed under Java String
Explore several String composition techniques and understand the idea behind String interpolation.
Value-Based Classes in Java
Filed under Java
Explore value-based classes and the notion of value types in Java.
How to Get Index of an Item in Java Set
Filed under Java Collections
Explore how to find the index of an element in a Set.
Find the Middle Element of an Array in Java
Filed under Java Array
Explore several approaches to finding the middle elements of an array in Java.
Inner Classes vs. Subclasses in Java
Filed under Java
Explore subclasses, inner classes, and their role in writing modular object-oriented code.
The Vector API in Java 19
Filed under Java
Explore the Vector API, its associated terminologies, and how to leverage it.
Creating Custom Iterator in Java
Filed under Java Collections
Learn how to create a custom iterator in Java and apply it to our collections.
Overriding hashCode() And equals() For Records
Filed under Java
Learn how records provide us with a default implementation of equals() and hashCode() methods.
Baeldung on Computer Science
- All
- Trees (1)
Difference Between Full, Complete, and Perfect Tree
Filed under Trees
Explore the essential properties of full binary trees, complete binary trees, and perfect binary trees.