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

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

or Read more about Java Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback