Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
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
What is Memory-Mapped File (MappedByteBuffer) in Java and when is it used?
Auto Skip
Report Issue
A.
MappedByteBuffer only works in read mode; normal FileOutputStream should be used for write operations
B.
MappedByteBuffer loads entire file to memory; therefore can only be used for small files
C.
Maps to virtual memory; random access fast; page-based loading; GC does not manage; suitable for large file and shared memory
D.
MappedByteBuffer automatically managed by GC; manual cleanup not needed
Previous
Next