HARMAN Interview Question

memory model of java