3
Reply

Public int A(int no) & public doubble A(int no) Is It Overloading?

Ganesh Saraf

Ganesh Saraf

10y
509
0
Reply
    Thanks. got it.
    Its overriding.
    you will getting the Compile time error. because Overloading does not consider return type. it is a ambiguous call of function.--Error Overloading.Program' already defines a member called 'A' with the same parameter types