Giao diện Set trong Java thuộc gói nào?

Java collection quizz 2

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Hoang Khoa
Used 2+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
java.lang
java.io
java.awt
java.util
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
HashSet trong Java cho phép lưu trữ bao nhiêu giá trị null?
Nhiều hơn một
Không có giá trị null
Chỉ một giá trị null
Tùy thuộc vào cấu hình
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phương thức nào sau đây được sử dụng để thêm một phần tử vào HashSet?
put()
add()
addElement()
insert()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Điểm nào sau đây không đúng về HashSet?
HashSet cho phép các phần tử trùng lặp
HashSet sử dụng cơ chế hashing để lưu trữ
HashSet không duy trì thứ tự chèn
HashSet cho phép giá trị null
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
TreeSet trong Java không cho phép lưu trữ loại giá trị nào?
Giá trị null
Giá trị số
Giá trị chuỗi
Giá trị đối tượng
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phương thức nào sau đây không có trong lớp HashSet?
remove()
size()
clear()
pollFirst()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cách nào để khởi tạo một TreeSet trong Java?
Set s = new TreeSet();
TreeSet s = new TreeSet();
TreeSet
Set
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Java Web - Session05

Quiz
•
Professional Development
19 questions
Quiz on Lambda Expressions and Functional Interfaces

Quiz
•
Professional Development
15 questions
IT Test

Quiz
•
Professional Development
14 questions
Java Web - Session4

Quiz
•
Professional Development
20 questions
JavaScript Concepts and Runtime Quiz

Quiz
•
Professional Development
20 questions
QUIZ SOBRE TECNOLOGIA

Quiz
•
Professional Development
15 questions
1101 Day 11 Review

Quiz
•
Professional Development
21 questions
Network Switch and VLAN Quiz

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade