
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
13 questions
Networks - Introduction
Quiz
•
10th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
EXAMEN DE EVALUACION DE INFORMATICA 2021
Quiz
•
10th Grade
15 questions
ONLINE Quiz - Computer Hardware Basics (COMSYS 1)
Quiz
•
12th Grade
10 questions
MIL-MODULE 2 QUIZ #3
Quiz
•
12th Grade
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
14 questions
Copyright Quiz Stolen from eff.org
Quiz
•
9th - 12th Grade
10 questions
MIL March 8, 2023
Quiz
•
12th 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