Covariant Return Types - J2SE 5.0
I just read the tech tip regarding the new covariant return types in j2se 5.0
In the doc, it said that you can now compile two methods with the same signature but with different return types. I was wondering if anyone knew how this would affect what the following expression returns: anObject.getClass().getMethod(aMethodNameString, aClassArray)
If there are two methods with the same signature except for the return type, how does the above expression know which method to return?

