Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Early Objects
Quiz 8: Text Processing and Wrapper Classes
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
The StringBuilder class's insert method allows you to insert into the calling object's string
Question 2
Multiple Choice
Which of the following statements converts an int variable named number to a string and stores the value in the String object variable named str?
Question 3
Multiple Choice
What will be displayed after the following code is executed? String str = "abc456"; For (int i = 0; i < str.length() ; i++) { Char chr = str.charAt(i) ; If (!Character.isLetter(chr) ) System.out.print(Character.toUpperCase(chr) ) ; }
Question 4
Multiple Choice
Which of the following statements is not true about the following code? StringBuilder strb = New StringBuilder("Total number of parts: ") ; Strb.insert(23, 32) ;
Question 5
Multiple Choice
Which of the following statements converts a String object variable named str to an int and stores the value in the variable x?
Question 6
Multiple Choice
What will be displayed after the following code is executed? String str = "RSTUVWXYZ"; System.out.println(str.charAt(5) ) ;
Question 7
Multiple Choice
What will be displayed after the following statements are executed? StringBuilder strb = New StringBuilder("We have lived in Chicago, Trenton, and Atlanta.") ; Strb.replace(17, 24, "Tampa") ; System.out.println(strb) ;