Sign In
|
Join
Main Menu▼
Blogs
LINQ
WCF
Windows Service
Angular JS
Online Test
JavaScript
MSMQ
MORE..
ASP.NET
HTML
JQuery
Games
Contact Us
Menu ▼
dotnet
87
asp.net
37
c#.net
20
linq
4
mvc
3
wcf
2
xml
2
ado.net
8
oops
2
entity framework
2
interview questions
1
angularjs
1
sql server
39
joins
1
queries
24
xml
2
functions
6
angularjs
22
angularjs
22
javascript
22
basics
9
xml
1
controls
3
validations
2
regular expression
4
jquery
59
basics
32
controls
14
events
3
jquery ui
9
html
3
html
3
css
8
css
2
css3
6
faqs
1
c#.net
1
mobile
2
android
1
ios
1
other
19
Home
/
blogs
/
Dotnet
/
OOPS
/
Difference between abstract and virtual method
Previous
Next
Posted By :
mrkraju
Total Views : 3111
Difference between abstract and virtual method
Abstract Method:
If abstract method is defined in a class, then the class should declare as abstract class.
Abstract method should contain only method definition, should not contain the method body / implementation.
Abstract method must be over ride in the derived class.
Virtual Method:
Virtual methods can be over ride in the derived class but not mandatory.
Virtual methods must have the method body / implementation along with definition.
Example :
Previous
Next
Search dotnetlearners.com
Latest Blogs
Maintain div or panel scroll position after postback in asp.net update panel
Draggable button using jquery ui
Get total number of tables, views, stored procedures and functions count and names in sql server
JavaScript function to get date in mmddyyyy hhmmss ampm format
JavaScript function to get date in mmddyyyy format
Most Viewed Blogs
Asp.net Gridview basic example for insert update and delete the records
Create your own captcha image generator in asp.net using c#.net
JQuery Date Picker example to disable previous dates.
Asp.net Grid view Row command Event
Login Page Example In MVC Using Entity Frame Work.