Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

When the JVM runs out of memory, which exception will be thrown?

A MemoryBoundException
B OutOfMemoryError
C OutOfRangeException
D NullReferenceException
Answer & Explanation
Option: [B]

When a program is stopped due to lack of memory then OutOfMemoryError is thrown.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics