Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
When does the memory advantage of WeakMap usage over Map usage occur?
Auto Skip
Report Issue
A.
WeakMap always uses less memory than Map; independent of key count
B.
WeakMap memory advantage never occurs; GC does not work with weak reference
C.
GC kicks in when no other strong references remain to key object; no advantage if key held in variable
D.
WeakMap advantage only becomes measurable when there are 1000+ entries
Previous
Next