Homework 3, CSC350 Spring 2001
Due Monday, Feb 19, noon
- type getcopy HelloWorldApp.java, after logging into hermite with your class account.
Compile this Java application by typing
javac HelloWorldApp.java
and then run it by using the Java interpreter:
java HelloWorldApp
What does it say?
- Read the Tutorial at the CS Dept Website at the Univ of Wisconsin:
http://www.cs.wisc.edu/~solomon/cs537/java-tutorial.html
List the items from the tutorial that you do not understand.
Also describe your experience with Java (if none, that's ok, just say so).
- The two files SortTest.java and sortTest.cpp are in the handout
directory. Type getcopy SortTest.java and getcopy sortTest.cpp
to get them (again using your class account). You are free
to compile and run the cpp version, or just look it over.
You must compile the java version, and run it, and cut
and paste this compile and run sequence as well as the
results into your homework. Trying running it with 6 numbers.
javac SortTest.java
and
java SortTest 6
Please submit as an electronic file, using your class account.
You can log into hermite via telnet. The host name is
hermite.csc.smith.edu
To submit homework 3, put it in a file called hw3.txt and type:
submit homework3 hw3.txt