Services
Discover
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
Exam 8: Text Processing and Wrapper Classes
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
The term ________ commonly is used to refer to a string that is part of another string.
Question 22
True/False
The String class's valueOf method accepts a string representation as an argument and returns its equivalent integer value.
Question 23
Multiple Choice
The ________ method returns a copy of the calling String object, in which all leading and trailing whitespace characters have been deleted.
Question 24
Multiple Choice
What will be the tokens in the following statement? StringTokenizer st = New StringTokenizer("9-14-2014", "-", true) ;
Question 25
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) ;
Question 26
Multiple Choice
What will be displayed after the following code has been executed? Boolean matches; String str1 = "The cow jumped over the moon."; String str2 = "moon"; Matches = str1.endsWith(str2) ; System.out.println(matches) ;