example for mutable strings in java Example: mutable string in java StringBuilder str = new StringBuilder(); str.append("GFG");