Chaya M.

asked • 11/22/18

Howto create a java program that uses both observer design pattern and strategy design pattern?

Use the Java Observable
/Observer
classes to create an Observable object that provides "real
-
time" election
statistics. For the purposes of this assignment you can just report on any five states of your choice. The observable
should return the current standings of every state which includ
es the number of votes for the democrat's
candidate, the number of votes for the republican's candidate, and the number of electoral votes for the state


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.