We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b678af7 commit 9629264Copy full SHA for 9629264
src/modules/exports.md
@@ -3,7 +3,7 @@
3
Inside your `module-info.java` file you declare which packages are
4
"exported" from that module.
5
6
-```java
+```java,no_run
7
module reality {
8
exports earth;
9
exports sea;
src/modules/java.base.md
@@ -24,7 +24,7 @@ So if a file has the following
24
25
```java
26
void main() {
27
- var names = ArrayList<String>();
+ var names = new ArrayList<String>();
28
names.add("Him");
29
names.add("Jim");
30
names.add("Bim");
@@ -39,7 +39,7 @@ import module java.base;
39
40
class Main {
41
42
43
44
45
0 commit comments