Card 21 / 42: Which of the following is true?
A)
When a class marked final, it cannot be extended
B)
When a method marked final, it cannot be overridden
C)
When a method marked final, it cannot be overloaded
D)
Local variables of a method cannot be final
E)
A variable of a primitive type (int,float,..) which marked final, its value at initialization cannot be changed
Answer:
A) When a class marked final, it cannot be extended
B) When a method marked final, it cannot be overridden
E) A variable of a primitive type (int,float,..) which marked final, its value at initialization cannot be changed
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: |