Introduction to OOP Chapter 11: Static and Dynamic Behavior: next previous audio real text

Static and Dynamic Typing

In a statically typed programming language (Java or Pascal), for example, variables have declared typed -- fixed at compile time.

In a dynamically typed programming language (Smalltalk or CLOS), a variable is just a name. Types are associated with values, not variables. A variable can hold different types during the course of execution.

Intro OOP, Chapter 11, Slide 03