Difference abstract class and interface in .net?
Answer / Rajesh Kumar Rai
An Abstract Class is a base class that cannot be instantiated directly, but it can have concrete members. It acts as a template for its subclasses and provides a set of methods that need to be implemented by the derived classes. An Interface, on the other hand, is a collection of abstract methods (without implementation) that a class implements to achieve a specific contract or behavior. Unlike abstract classes, interfaces cannot have instance variables or constructors.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a dll be changed to an exe?
I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?
What is the difference between override and overload in a method?
Explain the procedure to add assemly to gac to make it shared one?
What is the use of design pattern?
Please explain what is the difference between a class and an object?
How to customize the trace output?
What are object pooling and connection pooling and difference?
What is CLR, CLS,CTS
4 Answers Deloitte, Vee Technologies,
What is .net3.5?
Why MVC programming model preferred?
Give an example program for Getter /read-only methods in JAVA