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 |
What is Satellite Assemblies ?
Why does my windows application pop up a console window every time I run it?
What is the different types of private assembly and shared assembly?
What is the difference between an integer and int?
Can we return two values from a function?
What are the two uses of a ‘using’ statement in c#?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
What is the execution entry point for a c# console application?
what is collections in .net? why we use?
Can mvc be used for desktop applications?
Is it possible to inherit multiple interfaces?
How many catch blocks can be there for a single try block?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)