In Java SE 7 and earlier,an interface may contain:
A) private static data and public abstract methods.
B) only public abstract methods.
C) public static final data and public abstract methods.
D) private static data and public final methods.
Correct Answer:
Verified
Q2: The UML distinguishes an interface from other
Q2: Polymorphism enables you to:
A) program in the
Q5: Declaring a method final means:
A) it will
Q7: A(n) class cannot be instantiated.
A)final.
B)concrete.
C)abstract.
D)polymorphic.
Q8: If the superclass contains only abstract method
Q9: Which of the following statements about abstract
Q10: For which of the following would polymorphism
Q13: Which of the following is false?
A) You
Q14: Which of the following could be used
Q15: Consider classes A, B and C, where
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents