Which two of the following are legal declarations for nonnested classes and interfaces?
- final abstract class Test {}
- public static interface Test {}
- final public class Test {}
- protected abstract class Test {}
- protected interface Test {}
- abstract public class Test {}
Reveal answer
Fill a bubble to check yourself