March 2002
Intermediate to advanced
496 pages
8h 51m
English
When you write a method, it becomes available for invocation according to its signature. The Java™Language Specification (Gosling et al. 2000) says: “The signature of a method consists of the name of the method and the number and types of formal parameters to the method” (p. 169).
Note that a method's signature does not include return type. However, if a method declaration overrides the declaration of another method, a compile-time error occurs if they have different return types.
|
A signature ...
Read now
Unlock full access