{"id":163,"date":"2017-05-08T16:15:37","date_gmt":"2017-05-08T14:15:37","guid":{"rendered":"http:\/\/ls3n2uhwe.preview.infomaniak.website\/?p=163"},"modified":"2018-12-25T16:10:38","modified_gmt":"2018-12-25T15:10:38","slug":"java-einstieg-teil-1","status":"publish","type":"post","link":"https:\/\/thierrys-blog.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/","title":{"rendered":"Java Einstieg Teil 1"},"content":{"rendered":"<p>Hier m\u00f6chte ich euch nun die Programmiersprache Java n\u00e4herbringen. Das Ganze wird Schritt f\u00fcr Schritt folgen.<\/p>\n<p>Ich arbeite mit folgenden zwei Programmen um das Ganze ein bisschen einfacher Darzustellen:<\/p>\n<p>einmal w\u00e4re das BlueJ (www.bluej.org\/) welches wir im Studium selber benutzen<\/p>\n<p>und dann w\u00e4re da noch Eclipse (www.eclipse.org) welches auch relativ einfach aufgebaut ist aber mehr Funktionen beinhaltet.<\/p>\n<p>Nun mal einen kleinen Einstieg damit wir die Begriffe die folgen werden, verstehen.<\/p>\n<p><strong>Objekte und Klassen<\/strong><\/p>\n<p><strong>Klasse\u00a0\u00a0 <\/strong>z.B. Auto\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Klassen sind Baupl\u00e4ne f\u00fcr Objekte<strong><a href=\"https:\/\/thierry.tc-technics.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/unbenannt-2\/\" rel=\"attachment wp-att-165\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"165\" data-permalink=\"https:\/\/thierrys-blog.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/unbenannt-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/Unbenannt-1.png?fit=346%2C289&amp;ssl=1\" data-orig-size=\"346,289\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Unbenannt\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/Unbenannt-1.png?fit=346%2C289&amp;ssl=1\" class=\"aligncenter wp-image-165 size-medium\" src=\"https:\/\/i0.wp.com\/thierry.tc-technics.ch\/wp-content\/uploads\/2017\/05\/Unbenannt-1-300x251.png?resize=300%2C251&#038;ssl=1\" alt=\"\" width=\"300\" height=\"251\" srcset=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/Unbenannt-1.png?resize=300%2C251&amp;ssl=1 300w, https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/Unbenannt-1.png?w=346&amp;ssl=1 346w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\u00a0<\/strong><\/p>\n<p><strong>\u00a0<\/strong><strong>Objekte\/Instanz<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 z.B. Mein Auto\u00a0 Wird genau klassifiziert, es hat die Farbe Weiss, es hat 220PS, Marke Renault etc.<\/p>\n<p>Ansicht im BlueJ<\/p>\n<p>Rot Markiert ist eine Klasse und Blau Markiert ist ein Objekt\/Instanz welches durch die Klasse erzeugt wurde.<\/p>\n<p><a href=\"https:\/\/thierry.tc-technics.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/bluej_t1-1\/\" rel=\"attachment wp-att-166\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"166\" data-permalink=\"https:\/\/thierrys-blog.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/bluej_t1-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1.png?fit=785%2C582&amp;ssl=1\" data-orig-size=\"785,582\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"BlueJ_t1.1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1.png?fit=785%2C582&amp;ssl=1\" class=\"aligncenter wp-image-166 \" src=\"https:\/\/i0.wp.com\/thierry.tc-technics.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1-300x222.png?resize=572%2C423&#038;ssl=1\" alt=\"\" width=\"572\" height=\"423\" srcset=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1.png?resize=300%2C222&amp;ssl=1 300w, https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1.png?resize=768%2C569&amp;ssl=1 768w, https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.1.png?w=785&amp;ssl=1 785w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/a><\/p>\n<p>Durch einen rechts Klick auf eine Klasse l\u00e4sst sich ein neues Objekt (new Bild) erstellen, die Bezeichnung von Objekten sind einmalig und m\u00fcssen klein geschrieben werden.<\/p>\n<p><a href=\"https:\/\/thierry.tc-technics.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/bluej_t1-2\/\" rel=\"attachment wp-att-171\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"171\" data-permalink=\"https:\/\/thierrys-blog.ch\/index.php\/2017\/05\/08\/java-einstieg-teil-1\/bluej_t1-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2.png?fit=771%2C581&amp;ssl=1\" data-orig-size=\"771,581\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"BlueJ_t1.2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2.png?fit=771%2C581&amp;ssl=1\" class=\"aligncenter  wp-image-171\" src=\"https:\/\/i0.wp.com\/thierry.tc-technics.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2-300x226.png?resize=575%2C433&#038;ssl=1\" alt=\"\" width=\"575\" height=\"433\" srcset=\"https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2.png?resize=300%2C226&amp;ssl=1 300w, https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2.png?resize=768%2C579&amp;ssl=1 768w, https:\/\/i0.wp.com\/thierrys-blog.ch\/wp-content\/uploads\/2017\/05\/BlueJ_t1.2.png?w=771&amp;ssl=1 771w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hier m\u00f6chte ich euch nun die Programmiersprache Java n\u00e4herbringen. Das Ganze wird Schritt f\u00fcr Schritt folgen. Ich arbeite mit folgenden<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[23,22],"tags":[],"class_list":["post-163","post","type-post","status-publish","format-standard","hentry","category-einstieg","category-java"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7VJBK-2D","_links":{"self":[{"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/posts\/163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/comments?post=163"}],"version-history":[{"count":6,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/posts\/163\/revisions"}],"predecessor-version":[{"id":212,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/posts\/163\/revisions\/212"}],"wp:attachment":[{"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/media?parent=163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/categories?post=163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thierrys-blog.ch\/index.php\/wp-json\/wp\/v2\/tags?post=163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}