FloCareer Interview Question

volatile & atomic diff 2 level checking in singleton class