Java String and Character Classes Revision

Java String and Character Classes Revision

11th Grade

10 Qs

quiz-placeholder

Similar activities

VISUAL BASIC 3ro. Compu

VISUAL BASIC 3ro. Compu

10th - 12th Grade

10 Qs

CompTIA Chapter 15 - Developing and Implementing Software

CompTIA Chapter 15 - Developing and Implementing Software

10th - 12th Grade

10 Qs

[Hall] While Loops

[Hall] While Loops

6th - 12th Grade

10 Qs

Sept 14 quiz

Sept 14 quiz

9th - 12th Grade

10 Qs

IoT

IoT

KG - Professional Development

11 Qs

 Unit 4 Advanced AP CSP

Unit 4 Advanced AP CSP

9th - 12th Grade

10 Qs

IP ADDRESSING AND ITS VERSION

IP ADDRESSING AND ITS VERSION

11th Grade

15 Qs

Structs em C

Structs em C

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?