diff options
| author | Paul Jungeblut <s_jungeb@i08pc56.atis-stud.uni-karlsruhe.de> | 2014-11-25 11:20:53 +0100 |
|---|---|---|
| committer | Paul Jungeblut <s_jungeb@i08pc56.atis-stud.uni-karlsruhe.de> | 2014-11-25 11:20:53 +0100 |
| commit | e7e05dd248d2457d01398c1a140a972b37d94ac9 (patch) | |
| tree | d55f260cc9c96d6ba95f8b2a0410297b40fc5d42 /java | |
| parent | ecd1b477293e00749d5281a3b42f17f4b00030dc (diff) | |
| parent | 0929a42d629e3fa1186ad6d5bb970130f9e028c5 (diff) | |
Merge branch 'master' of https://github.com/pjungeblut/ChaosKITs
merge
Diffstat (limited to 'java')
| -rw-r--r-- | java/Introduction.tex | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/Introduction.tex b/java/Introduction.tex new file mode 100644 index 0000000..d3b6cd9 --- /dev/null +++ b/java/Introduction.tex @@ -0,0 +1,12 @@ +\subsection{Introduction} + +\begin{enumerate} +\item Compilen: \\ javac main.java +\item Ausführen: \\ java main < sample.in +\item Einlesen: \\ +Scanner in = new Scanner(System.in); \\ +String line = in.nextLine(); (reads the next line of the input)\\ +int num = in.nextInt(); (reads the next token of the input as an int)\\ +double num2 = in.nextDouble(); (reads the next token of the input as a double)\\ +usw. \dot (think on your own what comes next) \\ +\ende{enumerate} |
