
Java Тіліндегі Сұрақтар
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Төмендегі код қандай нәтиже береді? String str = "Hello"; System.out.println(str.length());
5
4
6
Қате шығарады.
10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Жолды бас әріптерге ауыстыру үшін қандай әдіс қолданылады?
str.toUpperCase();
str.toUpper();
str.toCapital();
str.capitalize();
list.plus
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Жолды кіші әріптерге ауыстыру үшін қандай әдіс қолданылады?
str.toLowerCase();
str.toLower();
str.toSmall();
str.toMinCase();
str
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String-ті басындағы және соңындағы бос орындардан тазарту үшін не қолданамыз?
str.trim();
str.strip();
str.clean();
str.cut();
str
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Төмендегі код не істейді? String str = "Hello, World!"; System.out.println(str.charAt(7));
W
o
l
Қате шығарады.
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String-тің белгілі бір индексте басталатынын тексеру үшін қандай әдіс қолданылады?
str.startsWith("Hello");
str.beginWith("Hello");
str.starts("Hello");
str.hasPrefix("Hello");
str
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String-тің белгілі бір индексте аяқталатынын тексеру үшін қандай әдіс қолданылады?
str.endsWith("World");
str.finishWith("World");
str.ends("World");
str.hasSuffix("World");
str
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?