For the programmerhumor hackathon 2019, an overengineering Hello World command line program written in Java.
-
Install Java SE JDK 8 or above.
-
Make the
javac
andjava
commands available. -
Run
javac HelloWorld.java
to compile the code. -
Run
java HelloWorld
to execute the program.
(To recompile, run rm *.class
(Linux/MacOS) del *.class
(Windows), then run javac HelloWorld.java
)
- Polymorphism
- Exception Handling
- Functional Programming
- Factory Pattern
- Singleton Pattern
- Command Pattern