Solution savedObject = new Solution (4); ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream("a:\\1.txt")); out.writeObject(savedObject); out.close(); ObjectInputStream in = new ObjectInputStream(new FileInputStream("a:\\1.txt")); Solution loadedObject = (Solution) in.readObject(); in.close(); System.out.println(loadedObject.toString()); } private final transient String pattern = "dd MMMM yyyy, EEEE"; private transient Date currentDate; private transient int temperature; String string; Ԁ牳⨀潣⹭慪慶畲桳琮獡⹫慴歳〲琮獡㉫㄰⸴潓畬楴湯ઍꝌ壱퐐䰁؀瑳楲杮t䰒慪慶氯湡⽧瑓楲杮砻瑰䘀潔慤⁹獩〠‶敄敺扭牥㈠㄰ⰹ䘠敲瑩条‬湡⁤桴⁥畣牲湥⁴整灭牥瑡牵⁥獩㐠䌠 вот это в файле