Solved

Suppose You Are Writing an Interface Called Resizable, Which Includes

Question 52

Multiple Choice

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


A) private void resize() ;
B) protected void resize() ;
C) 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