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
15 questions
Introduction to MySQL

Quiz
•
11th - 12th Grade
10 questions
Array, Karakter dan String (BK) XI.B

Quiz
•
11th Grade - University
10 questions
Web Development Quiz

Quiz
•
11th Grade
10 questions
Python Basics Quiz

Quiz
•
9th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
8 questions
Operadores Lógicos y la Clase String en java

Quiz
•
11th Grade
13 questions
c++ last

Quiz
•
1st Grade - University
10 questions
Guided Note 5.3 For Loop and List

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