I defined the interface:
public Interface A { foo(String criteria) }
Can I rename a parameter name in an implementation class?
final public B implements A { foo(String name) }
Thanks!
You can definitely rename a variable name; it is not part of the signature.
A method signature includes its return type, method name, and the type and order of its parameters.
Sure. The name of the variable (parameter) is not part of the method signature.
Yes, the parameter name is not part of the interface.