
Java String, Character, and Stringbuilder

Quiz
•
Computers
•
Professional Development
•
Medium
riszty moyo
Used 28+ times
FREE Resource
Student preview

15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a method compares to Strings in the form of an integer value
equals
equalsIgnoreCase
compareTo
==
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The method returns the position of the character in the String.
indexOf( )
charAt( )
endsWith( )
replace( )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The method returns the character indicated by its position used as argument inside the parenthesis.
indexOf( )
charAt( )
startsWith( )
replace( )
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Method that replaces all occurrences of some character within a String
replace()
remove()
set
update
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Places a String argument into the StringBuilder object.
add
append
insert
setCharAt
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a method that adds characters at a specified location within the StringBuilder object.
append
add
insert
update
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is a method to change just one character in the StringBuilder object. Positions in StringBuilder objects starts with zero(0).
setCharAt
indexOf
charAt
updateChar
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade