<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-CH">
		<id>https://wiki.christofbuechi.ch/index.php?action=history&amp;feed=atom&amp;title=Chapter_1</id>
		<title>Chapter 1 - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.christofbuechi.ch/index.php?action=history&amp;feed=atom&amp;title=Chapter_1"/>
		<link rel="alternate" type="text/html" href="https://wiki.christofbuechi.ch/index.php?title=Chapter_1&amp;action=history"/>
		<updated>2026-08-24T16:57:16Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://wiki.christofbuechi.ch/index.php?title=Chapter_1&amp;diff=141&amp;oldid=prev</id>
		<title>Susi: Die Seite wurde neu angelegt: «= Chapter 1 = ==Objectives== === Java Basics === * Define the scope of variables * Define the structure of a Java class * Create executable Java applications, Ru…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.christofbuechi.ch/index.php?title=Chapter_1&amp;diff=141&amp;oldid=prev"/>
				<updated>2016-11-28T22:59:08Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: «= Chapter 1 = ==Objectives== === Java Basics === * Define the scope of variables * Define the structure of a Java class * Create executable Java applications, Ru…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Chapter 1 =&lt;br /&gt;
==Objectives==&lt;br /&gt;
=== Java Basics ===&lt;br /&gt;
* Define the scope of variables&lt;br /&gt;
* Define the structure of a Java class&lt;br /&gt;
* Create executable Java applications, Run a Java program from command line&lt;br /&gt;
* Import other Java packages&lt;br /&gt;
* Compare and contrast features and components of Java&lt;br /&gt;
=== Working with Java Data Types===&lt;br /&gt;
* Declare and initialize variables&lt;br /&gt;
* Difference between object reference variables and primitive variables&lt;br /&gt;
* know how to read and write to object fields&lt;br /&gt;
* explain an objects lifecycle&lt;br /&gt;
(creation, &amp;quot;dereference by reassignment&amp;quot;, garbage collection)&lt;br /&gt;
* develop code that uses wrapper classes&lt;br /&gt;
(Boolean, Double, Integer)&lt;br /&gt;
&lt;br /&gt;
==scopes==&lt;br /&gt;
==structure==&lt;br /&gt;
Java classes have two primary elements: methods and fields.&lt;br /&gt;
* fields/variables: hold a state of the program&lt;br /&gt;
* methods: operate on the state&lt;br /&gt;
&lt;br /&gt;
1 file = 1 class, if you have two classes, 1 must bi public an match the filename, other class can be private but not public too&lt;br /&gt;
&lt;br /&gt;
classes are logical grouped into packages&lt;br /&gt;
&lt;br /&gt;
if package starts with java or javax, this means it came with the JDK&lt;br /&gt;
packages names are mostly letters and numbers separated by dots.&lt;br /&gt;
&lt;br /&gt;
wildcards for matching all classes in the same package&lt;br /&gt;
(not every class in the package is imported, the compiler figures out what's actually needed)&lt;br /&gt;
&lt;br /&gt;
a wildcard only matches class names, not &amp;quot;fie.Files* -&amp;gt; import java.nio.*; not possbile&lt;br /&gt;
only one wildcard is possible in an import-statement&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
package java.lang is automatically imported, you can type this package as an import statement, but you don't have to&lt;br /&gt;
&lt;br /&gt;
default package, is a special unnamed package that you should use only for throwaway code&lt;br /&gt;
&lt;br /&gt;
java looks in the current package for other classes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==compare and contrast features and components==&lt;br /&gt;
==declare and initialize variables==&lt;br /&gt;
==object variables vs. primitive variables==&lt;br /&gt;
==read and write object fields==&lt;br /&gt;
==object lifecycle==&lt;br /&gt;
==wrapper classes==&lt;br /&gt;
==imports==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===main method===&lt;br /&gt;
String[] args, String args[], String ... args&lt;br /&gt;
are all correct&lt;/div&gt;</summary>
		<author><name>Susi</name></author>	</entry>

	</feed>