Java String and Character Classes Revision

Quiz
•
Computers
•
11th Grade
•
Medium
Claire Firman
Used 21+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To convert a char from lower to upper case, use
toUpperCase()
ToUpperCase()
toUpper()
capitalise()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The toUpperCase() method of the Character class is
static
non-static
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A typed method is one that _____ a value
returns
changes
updates
prints
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
non-static methods are called using the form:
objectName.methodName()
true
false
sometimes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Void methods ____ return a value
do
do not
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To find out how long the String below is use:
String city = "Johannesburg"
String.length()
city.length()
city.charCount()
String.chars()
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
To find out if two Strings are equal we use
==
equals()
equalsIgnoreCase()
isSame()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Strings

Quiz
•
11th Grade
10 questions
Java Character and String class methods

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

Quiz
•
9th - 12th Grade
10 questions
Introducing Python Strings

Quiz
•
11th Grade
10 questions
Python Strings

Quiz
•
11th Grade
15 questions
Java Beginners

Quiz
•
11th Grade
15 questions
กลางภาค ภาษาซี

Quiz
•
9th - 12th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 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