
Java Character and String class methods
Authored by Claire Firman
Computers
10th - 12th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method would you use to see if two String's are equal?
==
.equals
.equal
.similar
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method would you use to see if two String's are in alphabetical order?
.compareTo
.alpha
.orderBy
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method would you use to check if two String's are the same excluding upper and lower case?
.equalsIgnoreCase
.theSameNoCase
.isItEqual
.equalsNoCase
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method do you use to find how many characters are in a String?
.length
.numChars
.noNo
.lenCh
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To find where in a String a certain character can be found, use this method:
.indexOf
.whereIsIt
.charAt
.substring
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Anne".compareTo("Bill") > 0
TRUE or FALSE?
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Mandela".length()
7
6
8
5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
13 questions
INTERNET CONNECTION
Quiz
•
12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่6
Quiz
•
10th - 12th Grade
11 questions
Email of request
Quiz
•
12th Grade - Professi...
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
10 questions
𝐂𝐡𝐚𝐩𝐭𝐞𝐫 𝟓—𝐓𝐡𝐞 𝐅𝐮𝐭𝐮𝐫𝐞 𝐨𝐟 𝐂𝐨𝐦𝐩𝐮𝐭𝐢𝐧𝐠
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade