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. 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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents