STRING HANDLING

Quiz
•
Computers
•
10th Grade
•
Hard
Nimmy Anson
Used 65+ 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);
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Array

Quiz
•
10th - 12th Grade
15 questions
Variables Java

Quiz
•
10th - 12th Grade
10 questions
Java Coding

Quiz
•
9th - 12th Grade
12 questions
Compound Operators in Java

Quiz
•
9th - 12th Grade
10 questions
Simulasi 4

Quiz
•
10th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
10 questions
Introduction To Java: Hello World

Quiz
•
7th - 12th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade