Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 376 Bytes

File metadata and controls

17 lines (11 loc) · 376 Bytes

How to use

The .java files are the code and the .class file are the compiled code.

To compile from the project root:

javac -d out ObserverPattern/JavaBuiltInExample/*.java

To run:

java -cp out ObserverPattern.JavaBuiltInExample.WeatherStation

Note: Uses java.util.Observable which was deprecated in Java 9 and will not compile on Java 11+.