29 lines
433 B
Kotlin
29 lines
433 B
Kotlin
class A() {
|
|
|
|
public constructor(a: Int) : this() {
|
|
}
|
|
|
|
protected constructor(c: Char) : this() {
|
|
}
|
|
|
|
constructor(f: Float) : this() {
|
|
}
|
|
|
|
private constructor(d: Double) : this() {
|
|
}
|
|
}
|
|
|
|
public class B() {
|
|
|
|
public constructor(a: Int) : this() {
|
|
}
|
|
|
|
protected constructor(c: Char) : this() {
|
|
}
|
|
|
|
constructor(f: Float) : this() {
|
|
}
|
|
|
|
private constructor(d: Double) : this() {
|
|
}
|
|
} |