Card 20 / 42: Which of the following is correct about an interface in java?
A)
An Interface can declare data members but must be constants
B)
All methods in an interface are implicitly abstract
C)
Methods in an interface may be public, private, protected.
D)
An interface can implement an abstract class
E)
An interface can be final
Answer:
A) An Interface can declare data members but must be constants
B) All methods in an interface are implicitly abstract
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Oracle Certified Professional Java Programmer
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |