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

What is the difference between a function and a method?

695


How do I simulate optional parameters to com calls?

723


What is windows forms in c#?

648


Can enum be null c#?

710


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

2119


Is dictionary reference type c#?

649


Is functional interface runnable?

675


What is lock statement in C#?

737


Can struct inherit from class c#?

715


Is unity object oriented?

675


Are structs value types or reference types?

762


Explain About Virtual functions and their use.

769


How many types of polymorphism are there?

711


What does type safe mean in c#?

695


What do you mean by the delegate in c#?

680