Can an interface have an implemented method in any ways???
Printable View
Can an interface have an implemented method in any ways???
I'm not entirely sure of what you are asking, but I'm assuming you are asking if some interface can have default implementations of methods. The answer is no. Perhaps look into creating an abstract skeletal class which implements the interface and provides default implementations of the method. I should warn you, however; to be weary of inheritance.
There was a similar question last night on these forums with a fairly detailed explanation, try looking for it.