why do we use Overloading, Overriding, Boxing, Unboxing,
and what is the use of these ?
Answer Posted / kumar
overloading: using smae function or operator in different
and various way is called the overloading. this is because
of situation and the use. mainly two types are
1). Function overloading
area pi.r^2;
area l.b;
same function area and hence function overloading
2). Operator overloading
int add;
int float;
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
what class is underneath the sortedlist class?
What is Web.config?
Why do we use abstract class in c#?
What is the advantage of singleton class?
What are the steps to create a webservice and consume it?
How do you determine whether a string represents a numeric value?
Can a class be protected in c#?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
What are constants in c#?
What is the difference between abstract and abstraction?
What is reference types in c#?
Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is a view? What is the use of it?
Where is c# compiler located?
What are the types of operator?