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.
Difference Between Interfaces And Abstract Classes
Read this topic
on this topic
What we do
© meritcampus 2019
All Rights Reserved.
Open In App