
java collections
Authored by MCE-ECE- MUTHURAJ.R
Computers
University
Used 92+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Collection in Java?
A group of objects
A group of classes
A group of interfaces
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these interface is not part of Java’s collection framework?
List
Sorted List
Set
Sorted Map
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the Java program?
{0, 1, 3, 4}
{0, 1, 2, 4}
{0, 1, 2, 3, 4}
{0, 0, 0, 3, 4}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these return type of hasNext() method of an iterator?
Integer
Double
Boolean
Collections Object
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these exceptions is thrown by remover() method?
IOException
SystemException
ObjectNotFoundExeception
IllegalStateException
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods deletes all the elements from invoking collection?
clear();
reset();
delete();
remove();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these interface declares core method that all collections will have?
Collection
EventListner
Comparator
Set
List
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
27 questions
Microsoft Word Quiz
Quiz
•
6th Grade - University
28 questions
REPEAT UPS 3
Quiz
•
University
30 questions
Linux Quiz (RHCSA)
Quiz
•
University
34 questions
Computer Classification
Quiz
•
University
26 questions
AIS 006 - Module 3 Business Process Re-Engineering
Quiz
•
University
26 questions
IT | Chapter 1
Quiz
•
University
26 questions
221 quiz questions exam 2 prep
Quiz
•
University
27 questions
Quiz 3 (Special Quiz in ICT 1)
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade