W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
22 questions for “JRE & Memory”
Found in 1 field. Select a question to see its full answer.
Matching topics
C#
Arrays, Span<T> &
Memory
<T>
1
Information Technology
22 questions in 2 technologies
#
Question
Technology
Topic
Level
1
What is the role of Span<T> and
Memory
<T> in .NET, and why can't Span<T> be used inside an async method?
C# › Arrays, Span<T> & Memory<T>
C#
Arrays, Span<T> &
Memory
<T>
Advanced
2
What is garbage collection in the JVM, and what fundamental problem does it solve compared to manual
memory
management (like in C/C++)?
Java › Garbage Collection
Java
Garbage Collection
Beginner
3
What is the difference between Error and Exception in Java's Throwable hierarchy, and why should application code generally avoid catching Error subclasses like OutOf
Memory
Error or StackOverflowError?
Java › Exceptions
Java
Exceptions
Intermediate
4
How does an inner class's implicit reference to its outer instance create a potential
memory
leak risk, and in what specific scenario does this become a genuine practical concern?
Java › Inner Classes & Anonymous Classes
Java
Inner Classes & Anonymous Classes
Intermediate
5
How does the Java
Memory
Model's happens-before relationship formally define when changes made by one thread are guaranteed to be visible to another thread, and what role does the volatile keyword play?
Java › Concurrency & Threads
Java
Concurrency & Threads
Advanced
6
How would you implement
memory
-mapped file I/O using MappedByteBuffer, and what performance advantage does this provide for very large files compared to traditional stream-based reading?
Java › I/O & NIO
Java
I/O & NIO
Advanced
7
What is the role of the ClassLoader in the JVM, and what are the three built-in bootstrap/platform/application class loaders?
Java › Class Loading & Bytecode Verification
Java
Class Loading & Bytecode Verification
Beginner
8
What does it mean for an object to be 'eligible for garbage collection' in terms of reachability from GC roots?
Java › Garbage Collection
Java
Garbage Collection
Beginner
9
What is the parent delegation model in Java class loading, and why is it important for security and consistency?
Java › Class Loading & Bytecode Verification
Java
Class Loading & Bytecode Verification
Intermediate
10
What are the phases of class loading (loading, linking, initialization), and what specifically happens during each?
Java › Class Loading & Bytecode Verification
Java
Class Loading & Bytecode Verification
Intermediate
Show all 22 questions in Information Technology