Basic HTML version of Foils prepared October 30 1999

Foil 6 Order of Execution

From Short Introduction to Kids on Basic Programming Concepts in Java Sonia Kovalesky festival workshop (High School Girls) -- October 23 1999. by Nancy McCracken


1 Also note that the statements on the previous page are computed in the order that you list them. This is true within each method. A Java program is a collection of methods - each is "called" to compute its statements.
2 public class MyApplet extends Applet
3 { public void init ( )
4 {
5 /* statement1 */
6 /* statement2 */
7 . . .
8 /* last statement */
9 }
10 public void paint ( )
11 { /* statements go here */ }
12 public void helpermethod ( )
13 { /* statements go here */ }
14 }

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Oct 30 1999