Navigation:  Appendix A: Jumping Into Smalltalk >

Temporary Variables

Previous pageReturn to chapter overviewNext page

Smalltalk doesn't require type declarations on any variables. Temporary variables are defined within vertical bars.

Java

Smalltalk

int a;
char b;
float c;

| a b c |