Can we define an interface inside a Java class?
Answers
Answered by
0
Only an interface inside a class can be declared private or protected. Sometimes, that makes sense, when the interface is only appropriate for use inside the outer class .
Similar questions