Pregunta de entrevista de Perforce Software

Explain Memory allocation in Java