Sample Program Compiled

Sample Program Compiled

Scanner takes an input program and breaks them into

a series of tokens.

Tokens are entities defined by the compiler writer which

are of interest.

Examples of Tokens:

Single Character operator: = + - * > <

More than one character operator: ++, --,==,<=

Key Words: public class static void method if while

Previous slide Next slide Back to the first slide View Graphic Version