GkSeries.com

Q.

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.

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Please share this page

Click Here to Read more questions

Teacher Eligibility Test