differences between class inheritance and interface?
Answers were Sorted based on User's Feedback
Answer / chandra prakash
The most important technical distinction between creating a derived class and implementing an interface is that a derived class can only inherit from one base class, but a class can implement any number of interfaces.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / waqas ahmed
In C++, multiple class inheritance was allowed but in C# it
is not. The alternate for multiple inheritance is the use of
interface, it works like a pure abstract class (having
methods prototype only and have to be implemented by the
class that is inheriting the interface)
Is This Answer Correct ? | 2 Yes | 0 No |
What are the benefits of view state?
What are the server controls in asp.net?
Is razor a programming language?
Explain Features in ASP.NET
What is strong-typing versus weak-typing?
What are web beacons used for?
What are cookies in your browser?
Explain the code Access Security (CAS) in .net Framework?
What is postback and autopostback in asp.net?
What is asp.net ajax?
Types of values mode can hold session state in web.config ?
1 Answers Accenture, Parrot Systems,
Differences between VB.Net and C#, related to OOPS concepts