Challenges

Remember the rules for this are

  • Try to use only the information given up to this point in this book.
  • Try not to give up until you've given it a solid attempt

Challenge 1.

Add a module-info.java to one of your projects.

Challenge 2.

Move some of your code to use the multi-module directory layout. If you need to split one of your projects into multiple modules to pull this off, do so.

Challenge 3.

Intentionally create a split package situation. What error does Java give you?

Challenge 4.

Intentionally create a cycle in the "module graph." What error does Java give you?