Home > DeveloperSection > Interviews > Can you specify the accessibility modifier for methods inside the interface?

Posted on    August-27-2014 11:36 PM

 C# C# 
 1 Answer(s)
  1063  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-27-2014 12:00 AM

All the methods inside an interface are always public, by default. You cannot specify any other access modifier for them.

Don't want to miss updates? Please click the below button!

Follow MindStick