Java Array

Assessment
•
Siti Tanalol
•
Computers
•
University
•
129 plays
•
Medium
Student preview

23 questions
Show all answers
1.
MULTIPLE CHOICE
30 sec • 1 pt
Is String a primitive data type?
2.
MULTIPLE CHOICE
30 sec • 1 pt
Which method to use to find length of a string?
3.
MULTIPLE CHOICE
30 sec • 1 pt
Which data type gets returned from length() method in String class?
4.
MULTIPLE CHOICE
30 sec • 1 pt
String txt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
What is the correct way to find the length of "txt" string?
5.
MULTIPLE CHOICE
30 sec • 1 pt
Which is correct method to convert String into uppercase
6.
MULTIPLE CHOICE
30 sec • 1 pt
String txt = "Hello World";
System.out.println(txt.toUpperCase());
Choose the correct output.
7.
MULTIPLE CHOICE
30 sec • 1 pt
Choose correct purpose of indexOf() in String class.
8.
MULTIPLE CHOICE
30 sec • 1 pt
String x = "10";
String y = "20";
String z = x + y;
System.out.println(z);
Guess the output.
9.
MULTIPLE CHOICE
30 sec • 1 pt
Choose most appropriate purpose of trim() method in String?
10.
MULTIPLE CHOICE
30 sec • 1 pt
What is the most appropriate way to check if two Strings are identical?
Explore all questions with a free account
Similar Resources on Quizizz
25 questions
Java - SET -1

•
University
20 questions
Code Junction 4

•
University
25 questions
AP CSA Unit 1&2 Test

•
8th Grade - Professio...
19 questions
Data Types Java Concepts

•
University
20 questions
Pointers

•
University
19 questions
Java Basic 1 - Quiz

•
8th Grade - University
20 questions
Fundamentos JAVA

•
University
20 questions
UAS Struktur Data 2022

•
University
Popular Resources on Quizizz
5 questions
Brain Teasers

•
KG - University
37 questions
Math STAAR Review

•
4th Grade
12 questions
Earth Day

•
4th Grade
25 questions
STAAR REVIEW - SCIENCE

•
5th Grade
20 questions
Science STAAR Review! 23-24

•
5th Grade
20 questions
Reading Comprehension

•
5th Grade
20 questions
Types of Credit

•
9th - 12th Grade
23 questions
Math STAAR Review

•
4th Grade