Easy learning with example program codes

what is outofmemoryerror in java?

OutOfMemoryError is the sub class of java.lang.Error. It is thrown by the Java Virtual Machine (JVM) when an object cannot be allocated due to lack of memory space and also, the garbage collector cannot free some space.

Java interview questions on exception handling

Please follow and like us:

Copyright © 2020 CodesJava Protection Status