Skip to content
Snippets Groups Projects
Commit 506c33fa authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Added clarification that length is a state variable

parent 0e4c2f0a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -238,7 +238,8 @@ to research software?
\begin{frame}
\frametitle{Incorrect Version of Delete}
Using \texttt{s = new T[MAX\_SIZE]}, for some type \texttt{T}
Using \texttt{s = new T[MAX\_SIZE]}, for some type \texttt{T}; \texttt{length}
is a state variable
\lstset{language=java,breaklines=true,showspaces=false,showstringspaces=false,breakatwhitespace=true}
\noindent \lstinputlisting{DeleteIncorrect.java}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment