Menu
Question Index
...

Which of the following is incorrect?

X: A class can implement as many methods with the name main as long as the method signature is different.
Y: A class cannot be declared as protected, only methods can be declared as protected.


X only
Y only
Both are correct
Both are incorrect

Doubts

Problems

Topic: Access Modifiers 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