String
Quiz
•
Computers
•
1st - 3rd Grade
•
Medium
ANIS (PBU)
Used 1+ times
FREE Resource
Enhance your content
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
Similar Resources on Wayground
10 questions
Computer Networks - Introduction
Quiz
•
1st - 5th Grade
10 questions
Types of printers - grade-3- revision
Quiz
•
3rd Grade
10 questions
DBT-meetup quiz
Quiz
•
1st - 3rd Grade
10 questions
Reviwing-Week3-T2-G3
Quiz
•
3rd Grade
10 questions
2. Inputs - Outputs
Quiz
•
3rd Grade
10 questions
Walking with Logo Turtle
Quiz
•
3rd Grade
10 questions
Dasar C++
Quiz
•
KG - 3rd Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade