posted 19 years ago
this is one of questions in dan chisolms questions
Question 5
Which of the following are modifiers that can be applied to an interface that is a member of a directly enclosing class?
a. abstract
b. extends
c. final
d. private
e. protected
f. public
answer is a,d,e,f
but a nested interface can extend another interface right?
this code compiles fine
interface d
{}
class itf
{
interface sd extends d
{
void go();
}
}