mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
12 lines
230 B
Java
12 lines
230 B
Java
class WithoutPrimary {
|
|
public static A test1() {
|
|
return new A("123", "abc");
|
|
}
|
|
public static A test3() {
|
|
return new A("123", 456);
|
|
}
|
|
public static A test4() {
|
|
return new A(1.0);
|
|
}
|
|
}
|