Top "Interface" questions

An interface refers to the designated point of interaction with a component.

What's the difference between an abstract class and an interface?

Suppose we have two methods M1() and M2() in an interface. An abstract class also has just the same two …

c# oop interface abstract-class
not implementing all of the methods of interface. is it possible?

Is there any way to NOT implement all of the methods of an interface in an inheriting class?

java interface abstract-class
C# - Cannot implicitly convert type List<Product> to List<IProduct>

I have a project with all my Interface definitions: RivWorks.Interfaces I have a project where I define concrete implmentations: …

c# interface compiler-errors
Why would a static nested interface be used in Java?

I have just found a static nested interface in our code-base. class Foo { public static interface Bar { /* snip */ } /* snip */ } I …

java interface static
Inner class within Interface

Is it possible to create an inner class within an interface? If it is possible why would we want to …

java oop interface inner-classes
Why are C# interface methods not declared abstract or virtual?

C# methods in interfaces are declared without using the virtual keyword, and overridden in the derived class without using the …

c# methods interface abstract virtual-functions
Is there any ready-made calendar control for iPhone apps?

I am building an applicaiton for the iPhone that will display upcoming and past events. I settled for a list …

iphone cocoa-touch interface uikit calendar
TextWatcher for more than one EditText

I want to implement the TextWatcher interface for more than one EditText fields. Currently I am using : text1.addTextChangedListener(this); …

android interface android-activity android-edittext textwatcher
Why static classes cant implement interfaces?

Possible Duplicate: Why Doesn’t C# Allow Static Methods to Implement an Interface? In my application I want to use …

c# .net interface static-classes