Given the following code, which of the results that follow would you expect?
1. package mail; 2. 3. interface Box { 4. protected void open(); 5. void close(); 6. public void empty(); 7. }
A.
All methods in an interface must be public.
The default access modifier automatically assumes the method or constant to be public.