147.Maps

147.Maps

Professional Development

39 Qs

quiz-placeholder

Similar activities

ITN 263 Chapter 5

ITN 263 Chapter 5

University - Professional Development

40 Qs

SAFe 6 Part 7

SAFe 6 Part 7

Professional Development

44 Qs

MIS PRACTICE 3 OCT 2021

MIS PRACTICE 3 OCT 2021

Professional Development

35 Qs

key Board Touch

key Board Touch

3rd Grade - Professional Development

35 Qs

Chapter 10 Understanding Cryptography and PKI

Chapter 10 Understanding Cryptography and PKI

Professional Development

36 Qs

Java Screening Test

Java Screening Test

Professional Development

40 Qs

Seguridad examen 2 (3 y 4)

Seguridad examen 2 (3 y 4)

Professional Development

42 Qs

Custom sorting using comparator

Custom sorting using comparator

Professional Development

37 Qs

147.Maps

147.Maps

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are maps in Java?
Geographic representations
Data structures for key-value pairs
Drawing tools
Network protocols

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between map and HashMap in Java?
No difference, they're the same
Map is an interface, HashMap is an implementation
Map is for integers, HashMap is for strings
Map is single-ended, HashMap is double-ended

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why is a map used in Java?
For sorting elements
For storing key-value pairs
For performing mathematical operations
For printing values

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is a map a class or an interface?
Class
Interface
Both
Neither

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are maps and their types?
Navigation tools
Data structures for ordered elements
Data structures for key-value pairs; types include HashMap, TreeMap, and LinkedHashMap
Graphic elements

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between map and list in Java?
Map is for integers, list is for strings
Map stores key-value pairs, list stores single values
Map is always sorted, list is unsorted
There is no difference

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is faster, Map or HashMap?
Map
HashMap
Both are equally fast
It depends on the context

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?