forked from pr2-lecture/examples
29 lines
429 B
Java
29 lines
429 B
Java
/*
|
|
* (c) 2009 Thomas Smits
|
|
*/
|
|
package pr2.auffrischung;
|
|
|
|
public class Ding {
|
|
|
|
// Dies ist ein Kommentar in einer Zeile
|
|
|
|
/* dies ist ein Kommentar
|
|
über mehrere Zeilen */
|
|
|
|
/** Hier kommt JavaDoc */
|
|
|
|
/** Hier kommt JavaDoc,
|
|
* gerne auch Mehrzeilig */
|
|
|
|
private int x;
|
|
|
|
public int getX() {
|
|
return x;
|
|
}
|
|
|
|
public void setX(int x) {
|
|
this.x = x;
|
|
}
|
|
|
|
// Testkommentar
|
|
} |