
C#-2: Lektion 5
Flashcard
•
Computers
•
1st Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Was ist ein Objekt?
Back
Eine Instanz einer Klasse, welche mit Hilfe des Konstruktors erstellt wurde.
2.
FLASHCARD QUESTION
Front
Was ist eine Klasse?
Back
Eine art Vorlage, welche genutzt wird um Objekte zu erstellen, die Elemente der realen Welt repräsentieren.
3.
FLASHCARD QUESTION
Front
Was ist ein Konstruktor?
Back
Eine Methode, welche ein Objekt der entsprechenden Klasse erstellt.
4.
FLASHCARD QUESTION
Front
Was macht dieser Code?
Back
Der Code erstellt ein Objekt vom Typ Mensch (Human), gibt den Namen aus und lässt die Anzeige stehen.
5.
FLASHCARD QUESTION
Front
Finde den Fehler im Code. Options: Kein Semikolon am Ende der Main, Kein "new" Keyword vor animal1, Falscher Parametername im Konstruktor
Back
Kein "new" Keyword vor animal1
6.
FLASHCARD QUESTION
Front
Schau dir den Code an und sag, was in der Konsole ausgegeben werden wird. Options: Height: 15 Weight: 50 Breed: Bulldog, Height: 50 Weight: 15 Breed: Bulldog, Height: 50 Weight: 15
Back
Height: 50 Weight: 15 Breed: Bulldog
7.
FLASHCARD QUESTION
Front
Was macht Vererbung?
Back
Es erlaubt dir die automatische Kopie von Funktionalitäten in Klassen, die von einer Basisklasse erben. Dadruch müssen wir nicht den gleichen Code nochmal schreiben, wenn wir eine ähnliche Klasse schreiben.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?