2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/presentations/Programmieren-Tutorium/Tutorium-02/Baby-02.java
2013-11-05 19:39:03 +01:00

28 lines
616 B
Java

public class Baby {
/**
* Write something in the constructor
* @param weight set weight in gramm
* @param size the size in cm
* @param loudness the loudnes in dB
*/
public Baby(int weight, int size, float loudness) {
super();
this.name = name;
this.weight = weight;
this.size = size;
this.loudness = loudness;
}
/** Der Vor- und Nachname des Babys */
public String name;
/** Gewicht in Gramm */
public int weight;
/** Größe in cm */
public int size;
/** Lautstärke in dB */
public float loudness;
}