Home
Blogs
Interview Questions
ASP.NET
ASP.NET Fundamentals
ASP.NET MVC
ASP.NET Core
.NET
C#
JavaScript and Frameworks
JavaScript
Angular 2+
Design Patterns & Practices
OOPS
Data Structures & Algorithms
About
Contact
Search
Home
Interview Questions
.NET
C#
What is the difference between method overriding & method hiding?
<< Previous
What is the difference between method overriding & method hiding?
Key points:
In
Method Overriding
, we know what method will be called at run-time. But in Method Hiding, we know what method will be called during compile time.
You can think
Method Hiding
as you are stopping the method from being polymorphic. Hence there won't be any run-time polymorphism.
Best Answers:
https://stackoverflow.com/a/11046611/1273882
https://stackoverflow.com/a/11046511/1273882
Interview Questions by Technologies
ASP.NET Fundamentals
ASP.NET MVC
ASP.NET Core
C#
JavaScript
Angular 2+
OOPS
Data Structures & Algorithms
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. For more information - please visit our
private policy
.
Got it