HARMAN interview question

memory model of java