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
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
9 questions
Java Methods

Flashcard
•
12th Grade
12 questions
String Handling Flashcard

Flashcard
•
11th Grade
5 questions
Java Programming Basics

Flashcard
•
11th Grade
7 questions
Java Data Types Practice

Flashcard
•
12th Grade
10 questions
Java Exception Handling

Flashcard
•
11th - 12th Grade
6 questions
Zuid-Afrika flashcard

Flashcard
•
KG - University
9 questions
PYTHON -- Lists (short)

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade