
Java collection quizz 2
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Medium
Hoang Khoa
Used 2+ times
FREE Resource
Enhance your content in a minute
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giao diện Set trong Java thuộc gói nào?
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
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?
Similar Resources on Wayground
20 questions
Spring Data JPA
Quiz
•
Professional Development
15 questions
10211CS204 -OOPS using Java
Quiz
•
Professional Development
20 questions
Python Data Structures and loops
Quiz
•
Professional Development
17 questions
Holiday Quiz
Quiz
•
Professional Development
20 questions
Understanding HTML
Quiz
•
Professional Development
15 questions
Understanding BOM in JavaScript(14R)
Quiz
•
Professional Development
18 questions
Java 總複習
Quiz
•
Professional Development
15 questions
Java Programming Quiz
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development
