public keywordYou can use public to declare the visibility of your functions and
methods.
If a function or method does not have public, it can only be used in
the current file where it is defined.
fun visible_in_the_current_file() {}If you use public, you are declaring a function that can be used
anywhere.
The keyword shared is currently reserved for an additional
visibility level.