Practice with arrays and
ArrayList
s in Java. More practice with loops and debugging in Java. More practice implementing classes based on a given specification.
ArraysAndLists
project inside Eclipse. Use the
SVN Repository Exploring
perspective to check out this project, then switch back to the
Java
perspective.
ElectoralSimulator
and
ElectoralSimulatorMain
that you didn’t complete in class. See
TODO
comments for details.
ElectoralSimulatorMain
to display a graphical bar chart of the results in addition to the textual one. Use three different colors for the bars: one for bars representing fewer than half the electoral votes, one for bars representing more than half, and one for a tie.
QuizScoresMain
containing a
main()
method.
main()
method, create an
ArrayList
to store quiz scores. Use an element type that will support half-points.
QuizScores
class whose constructor takes an
ArrayList
containing the quiz scores.
QuizScores
class, document and implement methods for each of the operations below. Be sure to create JUnit tests for each method.
We will grade your Wiki contributions using ANGEL. Turn-in your programming work by committing it to your SVN repository.