1. If you have problem in assignment 1, you can ask for help and finish it in this lab.
2. Using emacs write two java files. The source code should be handed in at the end of this lab.
You can copy a .class file to your own class.
The copy command is:
"cp /home/jshan/.www/com3113/code/Counter.class Counter.class"
And run it by:
"java Counter"
This Counter.class is generated by execute" javac Counter.java".
The Counter.java is my answer to this question. When you hand in your lab assignment, only the java file is needed (not the class file).
The deadline for this lab assignment is the same as assignment 2. It's the end of October 1st.
Back to course index page