mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
17 lines
259 B
Java
17 lines
259 B
Java
import javafx.scene.Node;
|
|
|
|
class StringDemo {
|
|
String <caret>s = "Something";
|
|
|
|
StringDemo(String s) {
|
|
this.s = s;
|
|
}
|
|
|
|
public void compound(String t) {
|
|
s += t;
|
|
}
|
|
|
|
public String toString() {
|
|
return "s=" + s;
|
|
}
|
|
} |