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