Java Character and String class methods

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Claire Firman
Used 27+ 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
Java String class methods

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

Quiz
•
9th - 12th Grade
7 questions
Regular Expressions (Python)

Quiz
•
KG - University
15 questions
# REVIEW 1 DATA TYPES

Quiz
•
10th Grade
14 questions
CSA 1.1.1 Why Programming? Why Java?

Quiz
•
10th - 12th Grade
10 questions
Pre tes dan Post test

Quiz
•
12th Grade
6 questions
Comparación de objetos Java

Quiz
•
11th Grade
10 questions
Simulasi 3

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade