If I compile this code,get this error message:-
cannot declare both method(java.lang.String,java.lang.String...) and method(java.lang.String,java.lang.String[]) in Overload
final Object method(
String name, String... names) {
^
1 error.
Can somebody explain me the concept behind this ?
and If I am trying this code :-
It works fine........
Please make me understand the logic !!!
Regards,
Arun