Description : Which are the different segments of memory ?
Last Answer : Ans. 1. Stack Segment - contains local variables and Reference variables(variables that hold the address of an object in the heap) 2. Heap Segment - contains all created objects in runtime, ... variables) 3. Code Segment - The segment where the actual compiled Java bytecodes resides when loaded