public static void main(String[] args) { Class ob = new Class(); try { ob.writeLetters(); } catch (IOException e) { e.printStackTrace(); } }