what does length() do?
counts character
what does trim() do?
gets rid of only leading and trailing whitespace, tab characters, spaces, and etc
what is the syntax for equals()? what does it take in? what does it return?
s1.equals(s2); takes in a string object and returns a boolean
define ==
compares memory address of two objects to see if they point to the same place
setter AKA as ?
mutator
getter AKA as ?
accessor
overloaded methods are
two methods with the same name, can only exist if those methods take in different parameters
define immutable
cannot be changed this is a property of strings
what is concatination
to combine strings with ex: “hello” + “world”