Wednesday, April 20, 2011

Is it possible to change access specifier of members of interface.

AS we all know interface is publicly exposed contract, so its all functions are public by default because its made to be used by other. we cannot make method of interface as private/protected. and if your requirement is like that you are to create a protected member then my friend you are on wrong boat, You should go for abstract class instead of interface.

Compiled By Rajesh Rolen

Share This!

No comments:

Powered By Blogger · Designed By Seo Blogger Templates