
STRING HANDLING
Authored by Nimmy Anson
Computers
10th Grade
Used 69+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)) ;
(a)
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
"TRANSPARENT".compareTo("TRANSITION");
(a)
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
String s = "Today is Test";
System.out.println(s.indexOf('T'));
(a)
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";
(a)
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));
(a)
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Give the output of the following
"ACHIEVEMENT".replace('E','A');
(a)
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the out put of the following
System.out.println("FIVE"+5+2);
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?