1 | String comparison can be done with the methods equals and equalsIgnoreCase. Note that == tests if two strings are the same string instance, while equals tests if two different strings have the same characters. |
2 | Other methods include length, CharAt and toString. |
3 | The StringBuffer class has mutable strings, but is created with a fixed maximum size. It has methods such as append to extend the length of the string. |