Exam 7: Characters, Strings, and the Stringbuilder
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
A(n) ____ comparison is based on the integer Unicode values of the characters.
(Multiple Choice)
4.8/5
(37)
When working with Strings, it is necessary to explicitly set a String to null.
(True/False)
4.8/5
(33)
The method header of the equals() method within the String class is ____.
(Multiple Choice)
4.8/5
(32)
The String class ____________________ method is similar to the equals() method. As its name implies, this method ignores case when determining if two Strings are equivalent.
(Short Answer)
4.8/5
(35)
StringBuilder greeting = new StringBuilder("Welcome");
Create the append() method to add the characters "home" to the end of the StringBuilder object created above.
(Essay)
4.8/5
(33)
How is the String class equalsIgnoreCase() method like the equals() method and how would you use it? Give an example.
(Essay)
4.7/5
(36)
Match each term with the correct statement below.
-Takes two integer arguments: a start position and an end position
(Multiple Choice)
4.9/5
(34)
The ____ method lets you add characters at a specific location within a StringBuilder object.
(Multiple Choice)
4.9/5
(37)
The ____________________ method requires an integer argument that indicates the position of the character at that position, starting at 0.
(Short Answer)
4.8/5
(32)
Showing 61 - 73 of 73
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)