PDA

View Full Version : Heap in Java


rajesh
30-12-2009, 09:27 PM
What is the functionality of instanceOf() ?
instanceOf opertaor is used to check whether an object can be cast to a specific type without throwing ClassCastException.

What is heap in Java?
It is a memory area which stores all the objects created by an executing program.