Did you read my previous post ? C, E, F, G are not incorrect as you say . i clearly wrote that EXCEPT D and F all are right. so that means options D, F are will produce AssertionError.
In class One,
int x = 0;
{ assert x == 1; } must always return an error whenever assertions are enabled .., isn't it ?
No it won't, not always. the assertion expression in enclosed in instance initializer(also called init blocks). these init block always run when an instance of the class is created. hence , only when instance of One is created does the assertion expression runs. and now a question for you, when will a instance of One be created ? ? and there you are now crystal clear
if you still have any problem , feel free to post