Menu
Question Index
...

Which of the following is correct?

X: These are different types of inner classes - Nested top-level classes, Member classes, Local classes, Anonymous classes.
Y: If the main method is declared as private then the program compiles properly but at run-time it gives a message conveying "Main method is not public."


X only
Y only
X and Y
Both are incorrect

Doubts

Problems

Topic: Unknown

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App