fnds
here the output is 012012....instead of 012345 ..
i know that if the variable is declared as volatile then every
thread uses a copy of it and so the variable cant be declared both volatile and final ...here it is not volatile then how come they uses their own copy..
but here ..if we wud have used static then there is only one variable and can expect 012345