SHARE
TWEET

Untitled

a guest May 24th, 2017 202 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Класс с двумя конструкторами
  2. class Foo {
  3.     constructor(i: Int)
  4.     constructor(s: String)
  5. }
  6.  
  7. // Класс с тремя конструкторами
  8. class Bar() {
  9.     constructor(i: Int) : this()
  10.     constructor(s: String) : this()
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top