What will be the output of this code?

2 Likes

Here, two methods are having same names(That is OK) and same parameters, it will give the compile time error.

Please let me know if I am correct.