What is the difference between Abstract and Interface?
Answer Posted / shiba shankar
1.In abstact class there may or may not have abstract
method.If there is one abstract method that must be a
abstract class.In interface the methods are bydefault
static and final.
2.Once we make abstract class means that's to be
extended.And the interface to be imlemented by making a
class.Through interface we can overcome the
multipleinheritance.
| Is This Answer Correct ? | 17 Yes | 11 No |
Post New Answer View All Answers
What is token in c#?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
What is the difference between parse and tryparse in c#?
Why do we use interface in c#?
What are the commonly used i/o classes?
What is the correct way of declaring an xml namespace?
What is data bind in c#?
Define Virtual folder?
What is difference between mutable and immutable in c#?
What is the use of private constructor in c#?
How to move to a state-related codebase?
Explain About web methods and its various attributes
Why we use get and set method in c#?
If the original method is not static you can declare an override method to be static or not?
What do u meant by "SBI" of an object?