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 what a diffgram is and a good use for one?
1 Answers Siebel Systems, Syntax Softtech,
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.
How can we do the client side validation and Server side validations? But i told that At client side by with the help of validations control or by javascript? But I dont know about the Server side controls Explain?
What is use of <% %> in asp.net?
What is css and what is it used for?
hi i am varinder. i am very eager to learn ASP.net in C#. i am beginer to it. i have refer some books but i found it tuff to understand. their language is tuff. So please tell me the best site or best book to learn ASP.net in C#. i will be very thankful. Varinder
How can you debug an ASP page, without touching the code?
1 Answers Prodigy Technologies,
Which is better session or viewstate?
Define the steps to set up validation control.
How can you dynamically add user controls to a page?
How can you achieve nested Masterpages in 2.0?