1. Learn
  2. /
  3. Courses
  4. /
  5. Intermediate Java

Connected

Exercise

Greetings

Every time the program reaches its main() part, you want it to greet the user by wishing them a good day.

Instructions

100 XP
  • Insert the static keyword before the custom method.
  • Call the custom method genericGreeter() inside main().