crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Which exception is thrown when java is out of memory?
Question Posted on 18 Feb 2024Home >> Java >> Java MCQ >> Which exception is thrown when java is out of memory?

Which exception is thrown when java is out of memory?


Java Code
Choose the correct option from below list
(1)MemoryError
(2)OutOfMemoryError
(3)MemoryOutOfBoundsException
(4)MemoryFullException

Answer:-(2)OutOfMemoryError
Note:-A common use for these flags is when you encounter a java.lang.OutOfMemoryError.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

How to get prints of shared object memory maps or heap memory maps for a given process?

What is output of below scope variable example in Java?

Which error is produce from below Java code?

Which below is not the use of this keyword in Java?

Which of below is not an OOPS concept in Java?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap