String

String

1st - 3rd Grade

6 Qs

quiz-placeholder

Similar activities

The Computer Mouse

The Computer Mouse

1st - 5th Grade

10 Qs

Programming - Arrays

Programming - Arrays

2nd - 12th Grade

10 Qs

PL2 Midterm Quiz

PL2 Midterm Quiz

1st - 5th Grade

10 Qs

quiz 1

quiz 1

1st - 5th Grade

10 Qs

Array List

Array List

1st Grade

10 Qs

Kiểm tra thường xuyên lần 2 (11/8-11/6)

Kiểm tra thường xuyên lần 2 (11/8-11/6)

KG - 12th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Aibles javascript quiz

Aibles javascript quiz

1st Grade

10 Qs

String

String

Assessment

Quiz

Computers

1st - 3rd Grade

Medium

Created by

ANIS (PBU)

Used 1+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

String is an ................

array of integers

array of characters

array of class

array of data type

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Example 1

String s = new String( );

Syntax

String stringobject = new String( );

Creating String Object : Empty Object

Creating String Object : Not Empty Object

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Example 4

String s = "I have to study for my exams";

Syntax

String stringobject = <string value>;

Creating String Object : Empty Object

Creating String Object : Not Empty Object

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

String country = "Malaysia";

int i = country.length( );

value of i is 10

value of i is 6

value of i is 8

value of i is 4

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

String firststring = "Welcome to ";

String secondstring = "Malaysia";

String thirdstring = firststring.concat(secondstring);

System.out.println(thirdstring);

Malaysia

Malaysia Welcome to

Welcome to Malaysia

Welcome to

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Identify are they the method of String Class ?

charAt()

equals()

indexOf()

replace()

trim()

True.

All of them are method of String Class

False.

All of them are not method of String Classlse