What is an Interface and What is an Abstract Class?
Answers were Sorted based on User's Feedback
Answer / meraj khan
Abstract class:
Abstract class act as base class, not instantiable, no
implementaiotn in base class but allow implementaiotn in
derived class with overide method, method must be abstract.
specially used in inheritance.
Interface:
Interface class dont have constructor, destructor,
always public modifier set to true
no implementation
cant used multiple inheritance instead of this we use
multiple interface
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / lalit
An abstract class is a parent class that allows inheritance
but can never be instantiated
Abstract classes are the classes with no implementation of
methods or concerete implementation of methods
An Interface can inherit several interfaces.
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / manoj kumar tripathi
We can not create object of abstract class.It is base class
which inherit by other class.we can give at least one
definition in the class.It support inheritance.
Is This Answer Correct ? | 0 Yes | 3 No |
Explain the purpose of storyboard.targetproperty.
What is meant by role based security? when we use this one
To wrap up a call to a Web service the standard used is..?
Does asp.net still recognize the global.asa file?
What the use of Form Authentication and windows Authentication?
Define static function?
What is the answer for "Which configuration Tool your using means" ? we have to tell about IIS or .Net Framework or VSS? Give me in brief ?
Which template must you provide, in order to display data in a Repeater control?
What is DTS package?
Code for updating the database by entering the data into textboxes in aspx form?
How to publish website
What is the difference between CC and BCC?