<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.flbk-hamm.de/index.php?action=history&amp;feed=atom&amp;title=Anweisung</id>
	<title>Anweisung - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flbk-hamm.de/index.php?action=history&amp;feed=atom&amp;title=Anweisung"/>
	<link rel="alternate" type="text/html" href="https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;action=history"/>
	<updated>2026-08-07T01:02:28Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in FLBK-Wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2039&amp;oldid=prev</id>
		<title>Thomas: /* Zuweisung */</title>
		<link rel="alternate" type="text/html" href="https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2039&amp;oldid=prev"/>
		<updated>2025-09-23T10:13:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Zuweisung&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. September 2025, 12:13 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Zeile 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a = a + 5;  →  Diese Anweisung erhöht den Wert der Variablen a um 5.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a = a + 5;  →  Diese Anweisung erhöht den Wert der Variablen a um 5.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Datei:Beispiel Anweisungen Java BlueJ.png|mini]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Zuweisung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Zuweisung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Zuweisung (im Englischen: assignment) ist eine spezielle Art von Anweisung, die dazu dient, einen Wert in einer [[Variable (Informatik)|Variable]] zu speichern. Sie wird mit dem Zuweisungsoperator = durchgeführt.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Zuweisung (im Englischen: assignment) ist eine spezielle Art von Anweisung, die dazu dient, einen Wert in einer [[Variable (Informatik)|Variable]] zu speichern. Sie wird mit dem Zuweisungsoperator = durchgeführt.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-2037:rev-2039:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
	<entry>
		<id>https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2037&amp;oldid=prev</id>
		<title>Thomas am 23. September 2025 um 09:15 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2037&amp;oldid=prev"/>
		<updated>2025-09-23T09:15:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. September 2025, 11:15 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot;&gt;Zeile 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Kontrollstruktur|Kontrollstrukturanweisungen]]: Steuern den Programmfluss. Dazu gehören:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Kontrollstruktur|Kontrollstrukturanweisungen]]: Steuern den Programmfluss. Dazu gehören:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[Verzweigung|Verzweigungen]] (if, else, switch): Führen Code nur unter bestimmten Bedingungen aus.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[Verzweigung|Verzweigungen]] (if, else, switch): Führen Code nur unter bestimmten Bedingungen aus.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[Schleife|Schleifen]] (for, while, do-while): Wiederholen die Ausführung von Code&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** [[Schleife|Schleifen]] (for, while, do-while): Wiederholen die Ausführung von Code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Programmierung]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:AHR_I_Informatik_LK]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:FI_I_SDM]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-2036:rev-2037:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
	<entry>
		<id>https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2036&amp;oldid=prev</id>
		<title>Thomas am 23. September 2025 um 09:14 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2036&amp;oldid=prev"/>
		<updated>2025-09-23T09:14:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 23. September 2025, 11:14 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Einführung&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Einführung &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Kopfzeile &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Eine Anweisung (im Englischen: statement) ist der kleinste, eigenständige Befehl in einem [[Java]]-Programm. Man kann sie sich als einen vollständigen Satz in der menschlichen Sprache vorstellen. Jede Anweisung wird am Ende mit einem Semikolon (;) abgeschlossen. Dieser Punkt am Satzende signalisiert dem [[Compiler]], dass der Befehl hier zu Ende ist.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Eine Anweisung (im Englischen: statement) ist der kleinste, eigenständige Befehl in einem [[Java]]-Programm. Man kann sie sich als einen vollständigen Satz in der menschlichen Sprache vorstellen. Jede Anweisung wird am Ende mit einem Semikolon (;) abgeschlossen. Dieser Punkt am Satzende signalisiert dem [[Compiler]], dass der Befehl hier zu Ende ist.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-2035:rev-2036:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
	<entry>
		<id>https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2035&amp;oldid=prev</id>
		<title>Thomas: Die Seite wurde neu angelegt: „Einführung == Kopfzeile == Eine Anweisung (im Englischen: statement) ist der kleinste, eigenständige Befehl in einem Java-Programm. Man kann sie sich als einen vollständigen Satz in der menschlichen Sprache vorstellen. Jede Anweisung wird am Ende mit einem Semikolon (;) abgeschlossen. Dieser Punkt am Satzende signalisiert dem Compiler, dass der Befehl hier zu Ende ist.  Ohne Anweisungen würde ein Programm nicht wissen, was es tun soll. Sie sin…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.flbk-hamm.de/index.php?title=Anweisung&amp;diff=2035&amp;oldid=prev"/>
		<updated>2025-09-23T09:13:36Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Einführung == Kopfzeile == Eine Anweisung (im Englischen: statement) ist der kleinste, eigenständige Befehl in einem &lt;a href=&quot;/Java&quot; title=&quot;Java&quot;&gt;Java&lt;/a&gt;-Programm. Man kann sie sich als einen vollständigen Satz in der menschlichen Sprache vorstellen. Jede Anweisung wird am Ende mit einem Semikolon (;) abgeschlossen. Dieser Punkt am Satzende signalisiert dem &lt;a href=&quot;/Compiler&quot; title=&quot;Compiler&quot;&gt;Compiler&lt;/a&gt;, dass der Befehl hier zu Ende ist.  Ohne Anweisungen würde ein Programm nicht wissen, was es tun soll. Sie sin…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Einführung&lt;br /&gt;
== Kopfzeile ==&lt;br /&gt;
Eine Anweisung (im Englischen: statement) ist der kleinste, eigenständige Befehl in einem [[Java]]-Programm. Man kann sie sich als einen vollständigen Satz in der menschlichen Sprache vorstellen. Jede Anweisung wird am Ende mit einem Semikolon (;) abgeschlossen. Dieser Punkt am Satzende signalisiert dem [[Compiler]], dass der Befehl hier zu Ende ist.&lt;br /&gt;
&lt;br /&gt;
Ohne Anweisungen würde ein Programm nicht wissen, was es tun soll. Sie sind die Schritt-für-Schritt-Anleitungen, die ein Programm ausführen muss, um eine bestimmte Aufgabe zu erledigen und damit eine Grundlage für [[Algorithmus|Algorithmen]]. &lt;br /&gt;
&lt;br /&gt;
== Beispiele für Anweisungen: ==&lt;br /&gt;
&lt;br /&gt;
* System.out.println(&amp;quot;Hallo Welt!&amp;quot;);  →  Dies ist eine Anweisung, die den Text &amp;quot;Hallo Welt!&amp;quot; auf der Konsole ausgibt.&lt;br /&gt;
* int zahl = 10;  →  Diese Anweisung deklariert eine Variable und weist ihr den Wert 10 zu.&lt;br /&gt;
* a = a + 5;  →  Diese Anweisung erhöht den Wert der Variablen a um 5.&lt;br /&gt;
&lt;br /&gt;
== Zuweisung ==&lt;br /&gt;
Die Zuweisung (im Englischen: assignment) ist eine spezielle Art von Anweisung, die dazu dient, einen Wert in einer [[Variable (Informatik)|Variable]] zu speichern. Sie wird mit dem Zuweisungsoperator = durchgeführt.&lt;br /&gt;
&lt;br /&gt;
Eine [[Variable (Informatik)|Variable]] kann man sich vorstellen wie eine Box mit einem Namen. Der Zuweisungsoperator = nimmt einen Wert und legt ihn in diese Box.&lt;br /&gt;
&lt;br /&gt;
=== Aufbau einer Zuweisung: ===&lt;br /&gt;
&lt;br /&gt;
Variable = Wert;&lt;br /&gt;
&lt;br /&gt;
=== Beispiele für Zuweisungen: ===&lt;br /&gt;
&lt;br /&gt;
* int alter;  →  Hier wird nur eine Variable namens alter deklariert (eine Box erstellt).&lt;br /&gt;
* alter = 25;  →  Hier wird der Wert 25 der Variable alter zugewiesen. Dies ist eine Zuweisungsanweisung.&lt;br /&gt;
* String name = &amp;quot;Max Mustermann&amp;quot;;  →  Dies ist eine kombinierte Anweisung. Die Variable name wird deklariert und der Wert &amp;quot;Max Mustermann&amp;quot; wird ihr sofort zugewiesen.&lt;br /&gt;
&lt;br /&gt;
=== Unterschied zwischen = und == ===&lt;br /&gt;
Ein häufiger Fehler für Anfänger ist die Verwechslung des Zuweisungsoperators (=) mit dem Vergleichsoperator (==).&lt;br /&gt;
&lt;br /&gt;
* =  weist einen Wert zu. Beispiel: x = 5; (x wird der Wert 5 gegeben).&lt;br /&gt;
* == vergleicht zwei Werte auf Gleichheit. Beispiel: if (x == 5) (prüft, ob der Wert von x gleich 5 ist).&lt;br /&gt;
&lt;br /&gt;
== Arten von Anweisungen ==&lt;br /&gt;
Neben der Zuweisung gibt es noch weitere wichtige Anweisungsarten, die Sie in der Berufsschule kennenlernen werden:&lt;br /&gt;
&lt;br /&gt;
* [[Deklaration|Deklarationsanweisung]]: Erzeugt eine [[Variable (Informatik)|Variable]]. Beispiel: String text;&lt;br /&gt;
* Methodenaufrufanweisung: Führt eine [[Methode]] aus. Beispiel: System.out.println(&amp;quot;Hallo!&amp;quot;);&lt;br /&gt;
* [[Kontrollstruktur|Kontrollstrukturanweisungen]]: Steuern den Programmfluss. Dazu gehören:&lt;br /&gt;
** [[Verzweigung|Verzweigungen]] (if, else, switch): Führen Code nur unter bestimmten Bedingungen aus.&lt;br /&gt;
** [[Schleife|Schleifen]] (for, while, do-while): Wiederholen die Ausführung von Code&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Thomas</name></author>
	</entry>
</feed>