The .java files are the code and the .class file are the compiled code.
To compile from the project root:
javac -d out DecoratorPattern/CustomIO/*.javaTo run:
java -cp out DecoratorPattern.CustomIO.InputTestThere is a better way of using the decorator pattern with Factory and Builder patterns.