Java String and Character Classes Revision

Java String and Character Classes Revision

11th Grade

10 Qs

quiz-placeholder

Similar activities

Tuan 3 - Python

Tuan 3 - Python

KG - Professional Development

10 Qs

Xcode and Playgrounds

Xcode and Playgrounds

9th - 11th Grade

9 Qs

python basics

python basics

11th Grade - University

15 Qs

พื้นฐาน ภาษา Visual Basic

พื้นฐาน ภาษา Visual Basic

11th Grade

10 Qs

Post Test Jaringan Nirkabel

Post Test Jaringan Nirkabel

11th Grade

10 Qs

KKHP Roblox Game Development Quiz

KKHP Roblox Game Development Quiz

4th - 12th Grade

15 Qs

Unpuzzled ASCII

Unpuzzled ASCII

7th - 12th Grade

15 Qs

python-BTxâu

python-BTxâu

9th - 12th Grade

10 Qs

Java String and Character Classes Revision

Java String and Character Classes Revision

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Claire Firman

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?