Solved

Assuming That Interface Resizable Is Declared Elsewhere, Consider the Following

Question 35

Multiple Choice

Assuming that interface Resizable is declared elsewhere, consider the following class declaration: public class InnerClassExample
{
Public static void main(String[] args)
{
Class SizeModifier implements Resizable
{
// class methods
}
__________________________ // missing statement
}
}
Which of the following declarations can be used to complete the main method?


A) Resizable something = new Resizable() ;
B) Resizable something = new SizeModifier() ;
C) Resizable something = new InnerClassExample() ;
D) SizeModifier something = new Resizable() ;

Correct Answer:

verifed

Verified

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

Related Questions