The SOLID open-closed principle in Java asserts that a well-designed software component will be open for ongoing extension, but closed to edits and modification. In other words, a Java class that ...
You can write a simple generic launcher in the following way: public class Launcher{ public static void main(String[] args){ if (args.length>0) { try { Command ...