Skip to content

Commit 2e371f5

Browse files
committed
added an xml:id to the table and correctly referenced it
1 parent e7bdb44 commit 2e371f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/ch3_javadatatypes.ptx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@ void main() {
457457
</p>
458458

459459
<p>
460-
In fact, this is the first example of another big difference between Java and Python. Java does not support any operator overloading. Table 3 maps common Python string operations to their Java counterparts. For the examples shown in the table we will use a string variable called &#x201C;str&#x201D;
460+
In fact, this is the first example of another big difference between Java and Python. Java does not support any operator overloading. <xref ref="string-operations-comparison" text="type-global"/> maps common Python string operations to their Java counterparts. For the examples shown in the table we will use a string variable called &#x201C;str&#x201D;
461461
</p>
462462

463-
<table>
464-
<title> Comparison of common string operations in Python and Java. </title>
463+
<table xml:id="string-operations-comparison">
464+
<title> Comparison of common string operations in Python and Java. </title>
465465
<tabular>
466466
<row header="yes">
467467
<cell> Python </cell>

0 commit comments

Comments
 (0)