Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Класс с двумя конструкторами
- class Foo {
- constructor(i: Int)
- constructor(s: String)
- }
- // Класс с тремя конструкторами
- class Bar() {
- constructor(i: Int) : this()
- constructor(s: String) : this()
- }
Add Comment
Please, Sign In to add comment