Trên màn hình console sẽ in ra thông tin gì?
4. String

Quiz
•
Computers
•
Professional Development
•
Medium
Lê Thành
Used 12+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
false
true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử biến a và b đều thuộc kiểu chuỗi, để so sánh xem hai chuỗi a và b có bằng nhau không thì ta dùng lệnh nào dưới đây?
a == b
a.equal(b)
a.compareTo(b)
a.equals(b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tách một chuỗi ra thành mảng các ký tự ta phương thức nào để tương tác với chuỗi?
split()
getBytes()
toCharArray()
convertToCharArray()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng phương thức nào để lấy ra số lượng ký tự của chuỗi?
size()
count()
numberOfChar()
length()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng phương thức nào để tách chuỗi đã cho theo chuỗi đầu vào?
substring()
split()
convert()
substringBy()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử biến a và b đều thuộc kiểu chuỗi, để nối hai chuỗi a và b lại với nhau ta dùng lệnh nào?
a.concats(b)
a.combine(b)
a + b
a.combines(b)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để cắt ra chuỗi "def" từ chuỗi trong hình đã cho ta dùng phương thức nào?
substring(3)
substring(3, 5)
substring(3, 6)
substring(4, 6)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
SQL 3 LOWER()

Quiz
•
Professional Development
10 questions
5. Control statement

Quiz
•
Professional Development
10 questions
6. Method

Quiz
•
Professional Development
10 questions
C Programming

Quiz
•
Professional Development
10 questions
pemrograman dasar

Quiz
•
Professional Development
10 questions
EVALUACIÓN

Quiz
•
Professional Development
8 questions
TOC_Q1

Quiz
•
Professional Development
10 questions
3. Data conversion, Array

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade