The answer is E. The member class variable x is declared using the default access modifier in class Test1 so it is visible only inside the package test1. Trying to access it in class Test2(found in package test2) will generate a compilation error.

even protected static int x = 42; will work, and i think it is better to make memebers protected if possible than to make public ,otherwise u will be un necessarily opening doors to ur class,which is not desierd