Menu
Question Index
...

Which of the following is correct?

X: All methods in an interface are by default public. We can not change the access specifier to private or protected.
Y: Abstract methods have to be either protected or public. They can not be private.


X only
Y only
X and Y
Both are incorrect

Doubts

Problems

Topic: Difference Between Interfaces And Abstract Classes

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App