Menu
Question Index
...

Which of the following is correct?

X: The main() method can be declared final, in addition to being public static.
Y: A class that is declared final can be subclassed.


X only
Y only
X and Y
Both are incorrect

Doubts

Problems

Topic: final Keyword In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App