1.

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

A. 1 and 4
B. 2 and 5
C. 3 and 6
D. 4 and 6
Answer» D. 4 and 6


Discussion

No Comment Found