Java String Methods and String Pool

Quiz
•
Instructional Technology
•
1st - 5th Grade
•
Medium
Lmn Mrzyv
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bu kodun outputu nə olacaq?
10
5
0
3
4
-1
3
5
2
-1
4
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kod nəyi çap edəcək?
fun
Xəta verəcək
is
Java
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"trim" metodunun hansı təsviri doğrudur?
String-i kiçik hərflərə çevirir.
String-dəki boşluqları silir.
String-dəki bütün xüsusi simvolları silir.
String-dəki yalnız əvvəlki və sonundakı boşluqları silir.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"replace" və "replaceAll" fərqi
replace bütün dəyişiklikləri edir, replaceAll isə birincisini edir.
replace yalnız simvol dəyişdirir, replaceAll isə söz dəyişdirir.
replace regex qəbul etmir, replaceAll regex qəbul edir.
İkisinin heç bir fərqi yoxdur.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kodun çıxışı nə olacaq?
World
Hello
, Wor
orld!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kodun çıxışı nə olacaq?
4
5
3
Xəta verəcək
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kod nəyi çap edəcək?
Xəta yaranacaq.
J@v@ is awesome
J@v@ is @wesome
J@va is @wesome
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade