Join Slack
Powered by
<@U0JU7LN3T>: Definitely. You can call class priva...
# announcements
i
ilya.gorbunov
01/30/2016, 2:28 PM
@semesc
: Definitely. You can call class private constructor from its companion object methods:
Copy code
class A private constructor() { companion object { fun create(): A = A() } }
3
Views
Open in Slack
Previous
Next