Solved

Suppose You Are Writing an Interface Called Resizable, Which Includes

Question 14

Multiple Choice

Suppose you are writing an interface called Resizable, which includes one void method called resize that accepts no parameters. public interface Resizable
{
_______________________
}
Which of the following can be used to complete the interface declaration correctly?


A) protected void resize() ;
B) void resize() ;
C) private void resize() ;
D) public void resize() {
System.out.println("resizing ...") ; }

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions