One of the good feature in kotlin is there are no fields, like java. Any variable created in kotlin are properties by…