最病 Effective Java for Serialization 31 private void readobject(objectInputStream s) throws IOException, ClassNotFound Exception i s. defaultReadobjecto int numE lements S. readInto // Read in all elements and insert them in list for (int 1=0; i< numElements: i++) add((String) s. readobjecto): // Remainder omitted Institute of Computer Software 2021/1/28 Nanjing UniversityEffective Java for Serialization 2021/1/28 Institute of Computer Software Nanjing University 31