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
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
STRING HANDLING

Quiz
•
10th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
14 questions
Unit 5: Input in Java

Quiz
•
9th - 10th Grade
14 questions
New year 10 Python Quiz

Quiz
•
10th Grade
10 questions
Javascript Part 2 Quizizz

Quiz
•
10th Grade
10 questions
Java String class methods

Quiz
•
10th - 12th Grade
10 questions
String Methods

Quiz
•
9th - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
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