import java.io.*; public class TestDictionaryImp2 { public static void main(String[] args) { try { String s = File.separator; String source = System.getProperty("user.dir") + s + "testDictData.txt"; System.out.println("Read text from the file " + source); Dictionary dict = new DictionaryImp2(); TestDictionary.createDictionary(dict,source); System.out.println(" English-Bulgarian Dictionary:" + "\n" + dict); }catch (IOException e) {} } }