Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
.net interview questions
 
Question 121   What are abstract classes

We cannot create objects of an abstract class. they can be inherited. abstract classes can contain methods with implementation. it can contain both abstract and non-abstract methods.



Question 122   What is a interface

We cannot create objects of an interface. one class can inherit one or more interfaces. they contain only the signature or definition of methods or properties. a class which implements an interface should implement these methods.




Question 123   What is difference between abstract classes and interfaces

1) an abstract class can implement methods whereas an interface cannot implement methods.
2) an interface can only be inherited from another interface. abstract classes can inherit from another abstract class and one or more interfaces.
3) properties cannot be included in an interface. abstract classes can contain properties.
4) abstract classes can contain fields where as an interface can not
5) interface support multiple inheritance whereas an abstract class cannot.
6) abstract classes can contain constructors and destructors where as an interface can not



Question 124   What is a delegate

A delegate is a type safe function pointer. they are mainly used as event listeners or callback functions.



Question 125   What are events

An event is a notification usually when an user action occurs. a typical example of an event is user button click



Question 126   Do events have return type

No. events don't have any return type




 Rate this page
     
 31 votes , average 4 out of 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia