About Question enthuware.ocajp.i.v7.2.1052 :
Posted: Thu Feb 21, 2013 12:31 pm
Maybe the explaination of the solution is errata..
The jvm shouldn't report any error given the following method definitions:
String m1(int... i){}
String m1(int[] i){}
The decompilation of the given class doesn't yelds the same method signatures, and results in the same signatures.
At runtime the methods seems to behave like overloaded method
Feel free to correct my remarks
Best regards
The jvm shouldn't report any error given the following method definitions:
String m1(int... i){}
String m1(int[] i){}
The decompilation of the given class doesn't yelds the same method signatures, and results in the same signatures.
At runtime the methods seems to behave like overloaded method
Feel free to correct my remarks
Best regards