Why members of interface cannot be static? need examples and reason
Why members of interface cannot be static?
hai all,
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.
Karthik KPosted Aug 21, 2013, 5:18 AM
An interface is a "contract" or an agreement between the consumer (caller) and the provider (call). An interface describes what and how the call will provide functionality. There is no need for static members provided by a third party. Static members cannot be overridden by a provider.
VulpesPosted Aug 21, 2013, 5:11 AM