Expression is x+=f1()+f2()+f3()+f1();
if we expand this expression it look like below
x=x+ f1()+f2()+f3()+f1(); here the tricky part actually, x=x+ (some value)
static int x =10
x = x + f1() +f2() + f3() + f1()
f1() -->26
x = x + 26 +f2() + f3() + f1()
f2() -->51
x = x + 26 + 51 + f3() + f1()
f3() -->100 // makes global "x =100" (imp point to note) , not static value inside the main method
x = x + 26 +51 + 100 + f1()
f1() -->27
x = x + 26 + 51 + 100 + 27
Now it's time to choose the x value in main method (variable scope) , it will consider the static variable inside the main method
so it's value is still 10 (x=10)
x = 10+ 26 +51 + 100 + 27 = 214
Answer must be 214.
if still not able understand the flow , just delete the static declaration inside the main method and execute the program , you will see the difference and what's scope of static variable inside the main method.