Home » Java Programming » Declarations and Access Control

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 {}

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!