In this level, you learned how to create your own methods and pass arguments to them. We also figured out what these public
, protected
, and private
keywords mean before each method.
Everything seems clear and understandable enough, but if you have a desire to dig a little deeper in order to avoid confusion in the future, use this supplementary article: Access modifiers: private, protected, default, public.