Hi friends,
I want to know that Why can't you specify the accessibility modifier for methods inside the interface?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
DarilPosted Nov 17, 2021, 8:44 AM
VulpesPosted Feb 12, 2012, 5:52 AM
Satyapriya NayakPosted Feb 12, 2012, 4:13 AM
Methods inside Interfaces are public by default.you can't declare any accessibility modifier for methods inside interface.
Thanks