If you do not declare any constructor (primary or
secondary) in your non-abstract class, kotlin will generate a default primary
constructor with no arguments.
What is the access
scope of this primary constructor?
The
default constructor has public scope by default.
No comments:
Post a Comment