Creating An Animation Program Part 2 Alice. Method A segment of program code (instructions) that defines how to perform a specific task.