Why do we need to specify parameter name in interface?
问题 When we create interface methods, can't we do something like in java : void interface_method(Integer,String, /* other parameter */); Instead I noticed that we also need to give the parameter names lile: void interface_method(Integer i, String s); Also the interface implementor don't need to have the same parameter name as in interface method. I found a similar question about c# over here . They mention one scenario of named parameter but I don't find any other relevent reason specifically in