mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
28 lines
616 B
Java
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;
|
|
}
|
|
|