You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above tutorial, second screenshot defining basic structure of a module misses a ; at the end of line 6,
exports $PACKAGE
module $NAME {
// for each dependency:
requires $MODULE;
// for each API package:
exports $PACKAGE
// for each package intended for reflection:
opens $PACKAGE;
// for each used service:
uses $TYPE;
// for each provided service:
provides $TYPE with $CLASS;
}
Correcting this, would ensure syntax consistency and correctness
https://dev.java/learn/modules/intro/
In the above tutorial, second screenshot defining basic structure of a module misses a ; at the end of line 6,
exports $PACKAGE
module $NAME {
// for each dependency:
requires $MODULE;
}
Correcting this, would ensure syntax consistency and correctness