@@ -0,0 +1,1217 @@
+package com.javarush.task.task20.task2019;%0A%0Aimport java.io.*;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/* %0A%D0%98%D1%81%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D1%8C %D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D1%83. %D0%A1%D0%B5%D1%80%D0%B8%D0%B0%D0%BB%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F%0A*/%0Apublic class Solution implements Serializable %7B%0A%0A    public static void main(String args%5B%5D) throws Exception %7B%0A        FileOutputStream fileOutput = new FileOutputStream(%22your.file.name%22);%0A        ObjectOutputStream outputStream = new ObjectOutputStream(fileOutput);%0A%0A        Solution solution = new Solution();%0A        outputStream.writeObject(solution);%0A%0A        fileOutput.close();%0A        outputStream.close();%0A%0A        //loading%0A        FileInputStream fiStream = new FileInputStream(%22your.file.name%22);%0A        ObjectInputStream objectStream = new ObjectInputStream(fiStream);%0A%0A        Solution loadedObject = (Solution) objectStream.readObject();%0A%0A        fiStream.close();%0A        objectStream.close();%0A%0A        //Attention!!%0A        System.out.println(loadedObject.size());%0A    %7D%0A%0A    private Map%3CString, String%3E m = new HashMap%3C%3E();%0A%0A    public Map%3CString, String%3E getMap() %7B%0A        return m;%0A    %7D%0A%0A    public  Solution() %7B%0A        m.put(%22Mickey%22, %22Mouse%22);%0A        m.put(%22Mickey%22, %22Mantle%22);%0A    %7D%0A%0A    public int size() %7B%0A        return m.size();%0A    %7D%0A%7D%0A

Task --> 2019