Card 6 / 42: Which of the following is true?
A)
If a class is declared abstract , it must contain at least one abstract method
B)
If a class is declared abstract , all its methods must be abstract
C)
A method can either be final or abstract
D)
If a method is abstract then its class must be declared abstract
E)
An Abstract method has no body and ends with a semicolon
Answer:
C) A method can either be final or abstract
D) If a method is abstract then its class must be declared abstract
E) An Abstract method has no body and ends with a semicolon
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: |