Skip to content

Instantly share code, notes, and snippets.

@paddya
Created October 31, 2011 17:35
Show Gist options
  • Save paddya/1328102 to your computer and use it in GitHub Desktop.
Save paddya/1328102 to your computer and use it in GitHub Desktop.
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