Java String and Character Classes Revision

Flashcard
•
Computers
•
11th Grade
•
Hard
Ann Albertyn
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
To convert a char from lower to upper case, use
Back
toUpperCase()
2.
FLASHCARD QUESTION
Front
The toUpperCase() method of the Character class is
Back
static
3.
FLASHCARD QUESTION
Front
A typed method is one that _____ a value.
Back
returns
4.
FLASHCARD QUESTION
Front
non-static methods are called using the form: objectName.methodName()
Back
true
5.
FLASHCARD QUESTION
Front
Void methods ____ return a value
Back
do not
6.
FLASHCARD QUESTION
Front
To find out how long the String below is use: String city = "Johannesburg"
Back
city.length()
7.
FLASHCARD QUESTION
Front
The charAt() method extracts ____ character(s) from a String
Back
one
8.
FLASHCARD QUESTION
Front
"Johannesburg".substring(2,5) will return:
Back
han
9.
FLASHCARD QUESTION
Front
To find out if a word contains an "x" or not, use: word.indexOf("x"), word.index("x"), word.has("x")
Back
word.indexOf("x")
Similar Resources on Wayground
5 questions
Java Programming Basics

Flashcard
•
11th Grade
14 questions
Halloween Java

Flashcard
•
12th Grade
10 questions
Index number

Flashcard
•
KG - University
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
7 questions
Java Data Types Practice

Flashcard
•
12th Grade
5 questions
Arrays

Flashcard
•
11th Grade
9 questions
PYTHON -- Lists (short)

Flashcard
•
9th - 12th Grade
10 questions
Python - Slicing Strings - 2

Flashcard
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade