I have a question regarding Q39 in the
ExamLab diagnostics exam.
What will be the result of the following code?
The answer is that code generates Compile time error.
I have verified it and this is correct since reference to tMeth is ambigous, both methods match.
How can one successfully call any of these methods? If its not possible why does the compiler allow this?
Thanks.
edit: Added code tags around code.