Your peers in the course Objektorientierte Systeme 1 at the Hochschule Esslingen create and share summaries, flashcards, study plans and other learning materials with the intelligent StudySmarter learning app.
Get started now!
Objektorientierte Systeme 1
Was ist ein Objekt?
Das Objekt ist ein existierender Speicher in dem nach den Vorschriften der Klasse die Variablen angeordnet sind.
Objektorientierte Systeme 1
Woraus besteht eine Klasse?
Aus Attributen und Methoden
Objektorientierte Systeme 1
Wann sind Methoden überladen?
Es dürfen mehrere Methoden gleichen Namens in einer Klasse existieren, sofern sie sich durch ihre Parameter unterscheiden.
Der Rückgabewert ist diesbezüglich kein Unterscheidungsmerkmal!
Objektorientierte Systeme 1
Was ist ein Attribut?
Ist eine Variable, die zu einer Klasse gehört
Objektorientierte Systeme 1
Wie spricht man aus einer Klassenmethode das Klassenattribut pos an?
pos
this.pos
Objektorientierte Systeme 1
Wie spricht man pos über das Objekt schiff dieser Klasse von außen an?
schiff.pos
Objektorientierte Systeme 1
Wozu dient der Befehl new?
Führt dazu dass für die Klasse ein Objekt erstellt wird. Man instanziiert ein Objekt.
Objektorientierte Systeme 1
Hat der Konstruktor einen Rückgabewert?
Nein
Objektorientierte Systeme 1
Worüber wird der Konstruktor ausgeführt?
über new
Objektorientierte Systeme 1
Heißt der Konstruktor immer wie die Klasse?
Nein
Objektorientierte Systeme 1
Warum benötigt jede Klasse einen Konstruktor?
Ohne Konstruktor können keine Objekte erstellt werden
Objektorientierte Systeme 1
Was ist eine Klasse?
Der Bauplan
For your degree program Objektorientierte Systeme 1 at the Hochschule Esslingen there are already many courses on StudySmarter, waiting for you to join them. Get access to flashcards, summaries, and much more.
Back to Hochschule Esslingen overview pageCheck out courses similar to Objektorientierte Systeme 1 at other universities
Back to Hochschule Esslingen overview pageStudySmarter is an intelligent learning tool for students. With StudySmarter you can easily and efficiently create flashcards, summaries, mind maps, study plans and more. Create your own flashcards e.g. for Objektorientierte Systeme 1 at the Hochschule Esslingen or access thousands of learning materials created by your fellow students. Whether at your own university or at other universities. Hundreds of thousands of students use StudySmarter to efficiently prepare for their exams. Available on the Web, Android & iOS. It’s completely free.
Best EdTech Startup in Europe