what is the difference between interface and abstraction?
Answer Posted / anshul jain
An interface cannot provide any code, just the signature.
An abstract class can provide complete, default code and/or just the details that have to be overridden.
An interface cannot have access modifiers for the subs, functions, properties etc everything is assumed as public
An abstract class can contain access modifiers for the subs, functions, properties
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Name the method of servicebase class?
Explain how can you clean up objects holding resources from within the code?
What Is A Multicast Delegate?
What is the difference between static and private constructor in c#?
Are string objects mutable or immutable?
Can we extend static class in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What is platform independence"?
Write a program to find the angle between the hours and minutes in a clock
What is serialization in dot net?
Is char * null terminated?
In a site to turn off cookies for one page which method is followed?
Explain a MSIL ? Why is it appreciated by all developers?
What is delegates in c#?
Are there functions in c#?