Wrapping Up
We'll cover the following...
Kotlin doesn’t force you to create methods; you can create top-level functions as well. This opens a few more design choices in Kotlin than Java has—applications aren’t required to comprise of objects only, they can be composed of functions ...