In all methods of an interface should be derived?
Answers were Sorted based on User's Feedback
Answer / chandan
yes,which class inherits the interface,there should be
definition for all methods fo interface
Is This Answer Correct ? | 18 Yes | 0 No |
Answer / vishal
Please ignore my previous response.
Whenever a class implements any interface, it has to
necessarily implement all the methods of the interface.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sujai cn
If an interface is impemented by a class then all the
methods in interface has to be implemented , but if we use
an abstract class to imlplement the interface then some or
all of methods may not be implemented it has to be noted
that the in derived classes of this abstract class has to
implement the methods which are not implemented in the
abstract base class.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / vishal
Implementing an interface doesn't necessarily mean
implementing all methods of that interface.
Is This Answer Correct ? | 1 Yes | 10 No |
Can extension methods access private members?
What is keywords in c#?
Is it possible to add two 50 digit numbers in .net? If yes what is the code snippet?
2 Answers Cognizant, W3 Solutions, Zefer,
What is a class c#?
What is static classes in c#?
Which is better python or c#?
What is the difference between early binding and late binding in c#?
How will you get the different language strings?
How can you sort the elements of the array in descending order?
If I have more than one version of one assemblies, then how'll I use old version (how/where to specify version number?)in my application?
What is hashtable in c# with example?
What are the access-specifiers available in c#?