Difference between revisions of "Java - Einführung"
Jump to navigation
Jump to search
(→Java) |
|||
Line 1: | Line 1: | ||
== Woche 1 == | == Woche 1 == | ||
Variablen und Datentpyen | === Variablen und Datentpyen === | ||
Aufgabe 1.1 - Erzähl mir etwas über dich | Aufgabe 1.1 - Erzähl mir etwas über dich | ||
Line 7: | Line 7: | ||
Gib alle Variablen mit System.out.println auf der Konsole aus. | Gib alle Variablen mit System.out.println auf der Konsole aus. | ||
Variables and Datatypes | ===Variables and Datatypes=== | ||
Exercise 1.1 - Tell me about yourself | Exercise 1.1 - Tell me about yourself | ||
Revision as of 15:22, 19 December 2021
Woche 1
Variablen und Datentpyen
Aufgabe 1.1 - Erzähl mir etwas über dich
Deklariere Variablen für dein Alter, deinen Vornamen, dein Geschlecht, deinen Nachnamen, dein Geburtsdatum, deinen Notendurchschnitt und dafür ob du verheiratet bist oder nicht. Überleg dir gut welchen Datentyp du für welche Variablen am besten verwenden solltest.
Gib alle Variablen mit System.out.println auf der Konsole aus.
Variables and Datatypes
Exercise 1.1 - Tell me about yourself
Declare variables to express your age, first name, gender, last name, birthday, average grade and whether you are married or not. Think which datatype is well suited for which variable.
Print all variables to the console with System.out.println