State whether each of the following is true or false. If false, explain the reason briefly
and state what the complete, correct, and meaningful statement could be. Mere
negation of a false statement does not necessarily make it complete, correct, or
meaningful.
1.
Static import is used to import all members of a class or interface so that they may
be accessed without reference to their class names.
2.
The number of characters stored in a StringBuilder object may not exceed its
capacity.
3. Strings are immutable objects in Java.
4. Strings are represented in Java in ASCII format.
5.
Literal strings are stored in a String object as character arrays.
6. String objects may only be created using the keyword new.
False, you can also use String literal or character array
ex: String str = "Hello"
7. No two String objects of the same content may be created in Java.
8. The expression $S_1 == S_2$ compares the references to the strings $S_1$ and $S_2$ to check
whether they refer to the same object, not whether they have the same content.