This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
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