Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
12cfb5ff
Commit
12cfb5ff
authored
9 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Simple java code snippets
parent
6725f160
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Sd1/preliminaries.xml
+54
-5
54 additions, 5 deletions
Doc/Sd1/preliminaries.xml
with
54 additions
and
5 deletions
Doc/Sd1/preliminaries.xml
+
54
−
5
View file @
12cfb5ff
...
...
@@ -103,9 +103,9 @@
<itemizedlist>
<listitem>
<para><xref
linkend=
"bib_Kurniawan2015"
/>
. Despite
possible limitations
in the number of concurrent sessions
HdM Members might be able to access this book online at
<uri
possible limitations
with respect to the number of
concurrent sessions HdM Members
<emphasis>
might
</emphasis>
be able to access this book online at
<uri
xlink:href=
"http://proquest.safaribooksonline.com/9780992133047"
>
http://proquest.safaribooksonline.com/9780992133047
</uri>
.
</para>
</listitem>
</itemizedlist>
...
...
@@ -120,9 +120,9 @@
<listitem>
<para><link
xlink:href=
"http://shop.oreilly.com/product/9780596009205.do"
>
Head
First Java, 2nd Edition
</link>
or German
<link
First Java, 2nd Edition
</link>
(English) or
<link
xlink:href=
"http://www.oreilly.de/catalog/hfjava2ger"
>
Java
von Kopf bis Fuß
</link>
.
</para>
von Kopf bis Fuß
</link>
(German)
.
</para>
</listitem>
<listitem>
...
...
@@ -235,4 +235,53 @@
</glossentry>
</glosslist>
</section>
<section
xml:id=
"sd1CodeSnippets"
>
<title>
Play!
</title>
<para>
The following code snippets may be executed without prior knowledge.
They are intended to give you an idea about programming without
understanding the exact details. Just enjoy!
</para>
<tip>
<para>
You may want to watch the
<link
xlink:href=
"http://eclipsetutorial.sourceforge.net/totalbegginer01/lesson01.html"
>
Eclipse
and Java for total Beginners
</link>
beforehand.
</para>
</tip>
<section
xml:id=
"sd1SectSnippetHelloWorld"
>
<title><quote>
Hello, World
</quote>
and friends.
</title>
<qandaset
defaultlabel=
"qanda"
xml:id=
"sd1QandaSnippetHelloWorld"
>
<qandadiv>
<qandaentry>
<question>
<orderedlist>
<listitem>
<para>
Create a class HelloWorld in Eclipse and copy the
following code:
</para>
<programlisting
language=
"java"
>
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World ...");
}
}
</programlisting>
</listitem>
<listitem>
<para>
Execute this example. You should see the following
output in Eclipse's console window:
</para>
<programlisting
language=
"none"
>
Hello, World ...
</programlisting>
</listitem>
</orderedlist>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</section>
</chapter>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment