Introduction to Java
This project is intended to
introduce you to Java by re-writing a project you recently wrote in C++. You should
update the code you wrote previously so that
it implements a general solution to the CompSci 100 assignment animals
given for the past few semesters. Your Java implementation should address any
design weaknesses that you lost points for in your first version of the project.
Additionally, each class that you write should be documented according to
Sun's
javadoc standards and should provide a main method that tests each method of
the class to verify each works correctly. Note, that your game class' main
method will not be a test, but one that runs the interactive game.
Discussion
As you convert your code to a new language, you should keep track
of the differences and similarities in your README file.You should write approximately
two pages analyzing the process of converting your code and design. The following points should help guide your
discussion.- Where did you start, e.g., what did you convert first?
- What was the most difficult part of the code to convert?
- What features of Java where very similar (or identical) to C++?
- What features of Java were very different from C++?
- What features of Java caused you repeated problems getting used to?
- What features of Java caused you to significantly alter the design of
your code (for better or worse)?
- Was starting with a working program in C++ a help or a hindrance to
learning Java?
- Any other comments are welcome.
Comments?