Created
October 31, 2011 17:35
-
-
Save paddya/1328102 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Baby { | |
String name; | |
double gewicht; | |
double groesse; | |
double lautstaerke; | |
double stillfrequenz; | |
String haarfarbe; | |
char geschlecht; | |
boolean fail; | |
public static void main(String[] args) { | |
new Baby(); | |
} | |
public Baby() { | |
name = "Clara"; | |
gewicht = 3.4; | |
groesse = 0.52; | |
lautstaerke = 10; | |
stillfrequenz = 0.05; | |
haarfarbe = "blond"; | |
geschlecht = 'w'; | |
fail = true; | |
System.out.println("Name: " + this.name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment