Virtual Methods
|
Abstract Method
|
1- Virtual method
has an implementation
|
1- Abstract
method does not provide an implementation
|
2-Virtual
methods provide the derived class with the option of overriding it.
|
2-Abstract
method forces the derived class to override it.
|
3- Virtual
methods scope to members only.
|
3- Abstract
method's scope to members and classes
|
No comments:
Post a Comment