chap 9 Flashcards
1
Q
What is the main purpose of stringbuilder
A
The StringBuilder class is similar to the String class, except that you may change the contents of StringBuilder objects
2
Q
What is tokenizing a string?
A
Tokenizing a string is a process of breaking a string down into its components, which are called tokens
3
Q
What is autoboxing and unboxing?
A
Autoboxing is Java’s process of automatically “boxing up” a value inside an object
Unboxing is the opposite of boxing. It is the process of converting a wrapper class object to a primitive type.