Files
uni/third/semester1/CT326_Programming_III/notes/_minted-CT326-Notes/21B6A78E0C20595A4FD5F54A7E3DDC93CFCD10B6E967F145489C3C2B47048B4F.pygtex
2023-12-07 02:17:27 +00:00

8 lines
579 B
Plaintext

\begin{Verbatim}[commandchars=\\\{\},codes={\catcode`\$=3\catcode`\^=7\catcode`\_=8\relax}]
\PYG{k+kd}{private}\PYG{+w}{ }\PYG{k+kt}{void}\PYG{+w}{ }\PYG{n+nf}{readObject}\PYG{p}{(}\PYG{n}{ObjectInputStream}\PYG{+w}{ }\PYG{n}{s}\PYG{p}{)}\PYG{+w}{ }\PYG{k+kd}{throws}\PYG{+w}{ }\PYG{n}{IOException}\PYG{+w}{ }\PYG{p}{\PYGZob{}}
\PYG{+w}{ }\PYG{n}{s}\PYG{p}{.}\PYG{n+na}{defaultReadObject}\PYG{p}{();}
\PYG{+w}{ }\PYG{c+c1}{// customised deserialization code}
\PYG{+w}{ }\PYG{c+c1}{// followed by code to update the object if necessary}
\PYG{p}{\PYGZcb{}}
\end{Verbatim}