Trimble Interview Question

write output for given java snippet?