Skip to content

Commit 5268ac4

Browse files
committed
Fix broken references
1 parent 3a796d0 commit 5268ac4

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎_sources/Java4Python/firstjavaprogram.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ not worry! An important skill for a computer scientist is to learn what
4545
to ignore and what to look at carefully. You will soon find that there
4646
are some elements of Java that will fade into the background as you
4747
become used to seeing them. One thing that will help you is to learn a
48-
little bit about Java [sec:naming\_conventions] {Naming Conventions}.
48+
little bit about Java `Naming Conventions <namingconventions.html>`_.
4949

5050
The first question you probably have about this little program is “How
5151
do I run it?” Running a Java program is not as simple as running a
@@ -70,7 +70,7 @@ The command ``javac`` compiles our java source code into compiled byte
7070
code and saves it in a file called ``Hello.class``. ``Hello.class`` is a
7171
binary file so you won’t learn much if you try to examine the class file
7272
with an editor. Hopefully you didn’t make any mistakes, but if you did
73-
you may want to consult the [sec:common\_mistakes] {Common Mistakes}
73+
you may want to consult the `Common Mistakes <commonmistakes.html>`_
7474
section for helpful hints on compiler errors.
7575

7676
Now that we have compiled our java source code we can run the compiled

‎_sources/Java4Python/javadatatypes.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ variable. If you have ever tried to use a Python variable that you have
176176
not initialized the second error message will be familiar to you. The
177177
difference here is that we see the message before we ever try to test
178178
our program. More common error messages are discussed in the section
179-
[sec:common\_mistakes] {Common Mistakes}.
179+
`Common Mistakes <commonmistakes.html>`_.
180180

181181
The general rule in Java is that you must decide what kind of an object
182182
your variable is going to reference and then you must declare that

‎_sources/Java4Python/namingconventions.rst‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Naming Conventions
33
==================
44

5-
{sec:naming\_conventions}
6-
75
Java has some very handy naming conventions.
86

97
- Class names always start with an upper case letter. For example,

0 commit comments

Comments
 (0)