In Java, what is the primary difference between 'StringBuilder' and 'StringBuffer' classes?
- 'StringBuilder' is not thread-safe, 'StringBuffer' is thread-safe
- 'StringBuilder' is immutable, 'StringBuffer' is mutable
- 'StringBuilder' is for numeric values, 'StringBuffer' is for text values
- 'StringBuilder' has better performance than 'StringBuffer'