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
10 questions
Arrays

Flashcard
•
10th - 12th Grade
11 questions
Java ArrayLists

Flashcard
•
10th Grade
10 questions
Java Exception Handling

Flashcard
•
11th - 12th Grade
5 questions
Code.org Unit 6 List Review

Flashcard
•
12th Grade
13 questions
AP CSA Unit 4 Review

Flashcard
•
11th Grade
14 questions
Halloween Java

Flashcard
•
12th Grade
9 questions
Java Methods

Flashcard
•
12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade