java example
pionter start
This commit is contained in:
parent
bd82e73ef0
commit
1a403640cf
23
src/main.tex
23
src/main.tex
@ -149,11 +149,21 @@ void testfunc(ADR a){
|
||||
|
||||
%------------------------------------------------
|
||||
|
||||
\begin{frame}{Strukturen in Java}
|
||||
\begin{frame}[fragile]{Strukturen in Java}
|
||||
\begin{itemize}
|
||||
\item existieren nicht
|
||||
\item stattdessen Objekte
|
||||
\end{itemize}
|
||||
\begin{lstlisting}[language=java]
|
||||
public class Dog
|
||||
{
|
||||
String name;
|
||||
String strasse;
|
||||
short hausnummer;
|
||||
long plz;
|
||||
String stadt;
|
||||
}
|
||||
\end{lstlisting}
|
||||
\end{frame}
|
||||
|
||||
%----------------------------------------------------------------------------------------
|
||||
@ -166,7 +176,16 @@ void testfunc(ADR a){
|
||||
%------------------------------------------------
|
||||
|
||||
\begin{frame}{Grundlagen}
|
||||
TODO
|
||||
\begin{itemize}
|
||||
\item Variable die Speicheradresse enthält
|
||||
\item Pointer zeigt wo das Objekt zu finden ist.
|
||||
\item nicht alle Pointer enthalten Adresse
|
||||
\begin{itemize}
|
||||
\item NULL-Pointer
|
||||
\end{itemize}
|
||||
\item * definiert einen Pointer
|
||||
\item \& Wert eines Pointers
|
||||
\end{itemize}
|
||||
\end{frame}
|
||||
|
||||
%------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user