code: public static boolean getBoolean(final String title, final boolean defaultValue) {
          final String val = ConsoleMenu.selectOne(title, new String[] { "Yes", "No" },
                  new String[] { Boolean.TRUE.toString(), Boolean.FALSE.toString() }, defaultValue ? 1 : 2);
  
          return Boolean.valueOf(val);
      }
docs: Gets a boolean from the System.in
  
  @param title
  for the command line
  @return boolean as selected by the user of the console app