Adding a module as a dependency

Report a typo

The new program you are building needs to be able to play media and audio files from the program's GUI. How would you add the javafx.media module as a dependency to your module?

module com.myCompany.myModuleName {
    // place the correct line that goes here into the textbox below. Include semicolon.
}
Enter a short text
___

Create a free account to access the full topic