Definition
The SUPERFICIAL SIGNATURE of a Java program fragment is the fragment with...
- All literals (constants) replaced by their type in angular brackets.
- All objects referenced by variables replaced by the type of the object in angular brackets.
Some examples of superficial signatures:
Given the code:
int x = 5;
double y = 3.5;
double p = x * y;
IO.println (``This product is ``+ p);
The superficial signatures would be:
int x = < int >;
double y = < double >;
double p = < int > * < double >;
IO.println (< String > + < double >);