| Ejemplo |
|
public static class Object1 implements Externalizable{ private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { s.defaultReadObject(); } } |
| Solución | |
Una clase que implementa Externalizable siempre debe tener el
constructor con cero argumentos
|