Javy Tutorial

More videos

This video shows a single player execution of Javy 2.

Student chooses the code she wants to compile:

int mcd;
mcd = EuclideanAlg.euclideanAlg(56,14);
mcd = EuclideanAlg.euclideanAlg(mcd, 21);

Then she goes to the EuclideanMain class, where get some resources from aliens and unlock constant pool entries using them.

She must now compile the Java code. The resulting JVM instructions for the very first Java code line are:

bipush 56
bipush 14

which put those constants into the operand stack of the current execution frame.

Writing the code does not execute it. Student must go to her thread call stack and… press play!

Los comentarios están cerrados.