Home Segments Top Top Previous Next

334: Mainline

When an abstract-method signature includes parameters, the various parameter names are not constrained to be the same parameter names used in the definitions that appear in subclasses. Thus, an abstract-method signature may use numberIndicatingScriptQuality as a parameter name, as an aid to documentation:

public abstract int setScript (int numberIndicatingScriptQuality) ; 

The corresponding implementation may use s as the corresponding parameter name:

public int setScript (int s) { 
 script = s; 
}