Return to Jeff's Main Page

CS1 at Oswego

Hypertexknowlogy

Frequently Asked Questions

 
My Intro to Object-Oriented Programming  
 
 
 
Glossary of Terms ( Cognitive and Computational )

Monday November 27 , 2000
 

Definition   The SUPERFICIAL SIGNATURE of a Java program fragment is the fragment with...

  1. All literals (constants) replaced by their type in angular brackets.
  2. 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 >);