Write the output of the following
String s1 = "phoenix" ;
String s2 = "island" ;
System.out.println(s1.concat(s2.substring(2)) ;
STRING HANDLING
Quiz
•
Computers
•
10th Grade
•
Hard
Nimmy Anson
Used 64+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the output of the following
String s1 = "phoenix" ;
String s2 = "island" ;
System.out.println(s1.concat(s2.substring(2)) ;
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
"TRANSPARENT".compareTo("TRANSITION");
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
String s = "Today is Test";
System.out.println(s.indexOf('T'));
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the java statement to concatenate string a with string b and store in string c.
String a = "Feel" ;
String b = "Fresh";
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
String a = "Smartphone";
String b = "Graphic Art";
String h = a.substring(2,5);
String k = "b.substring(8).toUpperCase();
System.out.println(k.equalsIgnoreCase(h));
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Give the output of the following
"ACHIEVEMENT".replace('E','A');
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the out put of the following
System.out.println("FIVE"+5+2);
15 questions
Area With Arrays
Quiz
•
10th - 12th Grade
8 questions
String Handling in Java
Quiz
•
10th Grade
12 questions
Java Code
Quiz
•
10th - 12th Grade
10 questions
APCSA - Unit 3
Quiz
•
9th - 12th Grade
11 questions
Project STEM AP CS A Unit 1 Quiz Review
Quiz
•
9th - 12th Grade
9 questions
quis lat soal
Quiz
•
9th - 12th Grade
10 questions
AP CSA Unit 1 & 2 Review
Quiz
•
9th - 12th Grade
15 questions
JAVA: Level-1
Quiz
•
5th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University