mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 23:07:01 +07:00
snippets & descriptions updated GitOrigin-RevId: 111699b4da89302ca27e8ea67de9b9d043b8d4c2
15 lines
252 B
Java
15 lines
252 B
Java
class Test {
|
|
public static void main(String[] args) {
|
|
new Duckling("Franklin", Color.YELLOW);
|
|
}
|
|
}
|
|
|
|
class Duckling {
|
|
String name;
|
|
Color color;
|
|
|
|
public Duckling(String name, Color color) {
|
|
this.name = name;
|
|
this.color = color;
|
|
}
|
|
} |