What method would you use to see if two String's are equal?
Java Character and String class methods

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Claire Firman
Used 26+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
==
.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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Session 1

Quiz
•
9th - 12th Grade
12 questions
Databases

Quiz
•
6th - 10th Grade
15 questions
Java Script Quiz

Quiz
•
9th - 12th Grade
10 questions
G3M6

Quiz
•
10th Grade
12 questions
visual studio 2010

Quiz
•
10th - 12th Grade
10 questions
Java String and Character Classes Revision

Quiz
•
11th Grade
12 questions
CodeHS 3.5 String Methods

Quiz
•
9th - 12th Grade
10 questions
Strings

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University