Strings In java

Quiz
•
Computers
•
9th - 10th Grade
•
Medium
Arsha Arun
Used 36+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of data is used to enter the value (1234.5)?
Integer
double
char
void
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use the Scanner Library in java for?
Give permissions to the user
Correcting software errors
Allows user to read data
Allows the user to enter data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the following statement:
System.out.print("1"+"1");
11
2
Error Message
1+1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method to use to find length of a string?
length()
size()
long()
count()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type gets returned from length() method in String class?
double
String
int
number
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
Project STEM AP CS A Unit 1

Quiz
•
9th - 12th Grade
32 questions
Unit 1 APCSA

Quiz
•
9th Grade - University
37 questions
AP CSA Review Set #1

Quiz
•
9th - 12th Grade
30 questions
Q1 Summative Test 2 in C++

Quiz
•
10th Grade
30 questions
Java Servlets & JSPs Test

Quiz
•
10th Grade
30 questions
UAS Informatika Semester Genap TA. 2024/2025

Quiz
•
10th Grade
32 questions
2.16.1: Basic Java Review

Quiz
•
10th Grade
35 questions
class 10 output

Quiz
•
10th 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