Final answer:
In the body of an interface in Java, only public and public static field declarations are allowed. The correct declaration among the options provided is (b) public static int answer=42.
Step-by-step explanation:
In the body of an interface in Java, only public and public static field declarations are allowed. The correct declaration among the options provided is (b) public static int answer=42.
The keywords private and final cannot be used in the body of an interface, and the keyword static must be used with either public or protected.
So, the answer is (b) public static int answer=42.