HomePage
Jobs
WalkIn
Articles
Group Chat
Contact Us
Feedback
Sitemap
To improves our performance please Like Share Subscribe(Will boost us)
Follow
Use of virtual, sealed, override, and abstract
Question Posted on 28 Jan 2012
Home
>>
DotNet
>>
C#
>>
Use of virtual, sealed, override, and abstract
(1)The use of virtual keyword is to enable or to allow a class to be overridden in the derived class.
(2)The use of sealed keyword is to prevent the class from overridden i.e. you can’t inherit sealed classes.
(3)The use of override keyword is to override the virtual method in the derived class.
(4)The use of abstract keyword is to modify the class, method, and property declaration. You cannot directly make calls to an abstract method and you cannot instantiate an abstract class.
0
0
.
Most Visited Questions:-
Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a
More...
Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra
More...
Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres
More...
What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript
More...
Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec
More...
Other Important Questions
Simplest definition of partial classes and its rules?
Definition of Tuple class with some examples?
Define Race Condition in cSharp?
C#.Net Reserve Words
can we inherit private class level variables in c#
@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap