can you overload a method of class A in Class B if it is
derived class of A?If it is yes tell me how is it possible?

Answer Posted / muralik.it

for the above answers, i have one doubt, c# doesnt support
inheritence instead of that we use interface..but the above
answers showing the inheritence can u plz clarifyit..thank you

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is main static in c#?

587


Why do I get a syntax error when trying to declare a variable called checked?

660


What is parse method in c#?

531


Why would you use untrusted verification?

624


What is the difference between structure and class in c#?

550






Why to use “finally” block in c#?

624


What is the purpose of abstract class in c#?

562


Enlist all the components of an ado.net framework?

557


What is exe file in c#?

559


Can int be null c#?

607


What is the keyword used to prevent a class from being inherited by another class?

769


Write a program in C# for checking a given number is PRIME or not.

725


What is the difference between array and list in c#?

559


Are c# tuples immutable?

584


what is IComparable

642