What will happen as the result of the following code compilation?

1. package mail;
3. interface Box {
4.     protected void open();
5.     void close();
6.     public void empty();
7. }

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Sign Up Now
or Subscribe for future quizzes