Please can any tell what is the difference between method
overloading and overriding in c#.net ?

Answers were Sorted based on User's Feedback



Please can any tell what is the difference between method overloading and overriding in c#.net ?..

Answer / fathima2407

overloading-> it is the process of making an operator or
any other function to exhibit different behaviour in
different instances.
overridding->it is the process of calling the particular
function which is used in the program in different
instances.

Is This Answer Correct ?    0 Yes 0 No

Please can any tell what is the difference between method overloading and overriding in c#.net ?..

Answer / fathima2407

overloading-> it is the process of making an operator or
any other function to exhibit different behaviour in
different instances.
overridding->it is the process of calling the particular
function which is used in the program in different
instances.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

#include<stdio.h> int fn(int v); main() { printf("%d\n",fn(7)); } int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; }

0 Answers  


Is printf(?%d?,p); valid?

0 Answers  


how many gallon in one quseka

0 Answers  


A rectangular plank (2)1/2 meters wide can be placed so that it is on either side of the diagonal of a square shown below.(Figure is not available) What is the area of the plank?

1 Answers   Google, Mu Sigma,


7)8 mark X Y Z X Y Z + A B - A B -------- --------- C D E F B G A find X,Y,Z,G (8marks)

0 Answers   Infosys,


multithreading??

0 Answers  


How Main()is called by opreting system?

0 Answers  


Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.

1 Answers   Infosys,


what are the examples of E-Based Applications?

1 Answers  


pls explain this prog logic

1 Answers  


What is the key element of Defect Report and Test case format?

0 Answers  


why dijkstra algorithm not used for negative weighted edges graph??

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4452)
  • Electrical Engineering Interview Questions Electrical Engineering (16637)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)