This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Which of the following keywords can be applied to the variables or methods of an interface. A. static B. private C. synchronized D. protected E. public The mock exam's author regard A.E. as correct. But I think ACDE, because C and D can be applied to methods of an interface.
Here are the rules: For methods in an interface, they are implicitly public abstract. No other modifiers are allowed. For variables in an interface, they are implicitly public static final. No other modifiers are allowed.
[This message has been edited by Nain Hwu (edited October 19, 2001).]