Clarify the direction of visibility in the tutorial
The original text makes it sound like greeter target needs visibility to the runner target. It is the other way around.
Closes #3866.
PiperOrigin-RevId: 171958509
diff --git a/site/docs/tutorial/java.md b/site/docs/tutorial/java.md
index 0c5cafb..e273776 100644
--- a/site/docs/tutorial/java.md
+++ b/site/docs/tutorial/java.md
@@ -279,8 +279,8 @@

-However, for the build to succeed, you must make the `runner` target in
-`//src/main/java/com/example/cmdline/BUILD` explicitly visible to targets in
+However, for the build to succeed, you must explicitly give the `runner` target in
+`//src/main/java/com/example/cmdline/BUILD` visibility to targets in
`//BUILD` using the `visibility` attribute. This is because by default targets
are only visible to other targets in the same `BUILD` file. (Bazel uses target
visibility to prevent issues such as libraries containing implementation details