Skip to content
Snippets Groups Projects
Commit 1041ebff authored by Goik Martin's avatar Goik Martin
Browse files

slide annotations

parent 8357e003
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<chapter version="5.1" xml:id="sw1ChapterCoreClasses"
<chapter annotations="slide" version="5.1" xml:id="sw1ChapterCoreClasses"
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
......@@ -8,7 +8,7 @@
xmlns:m="http://www.w3.org/1998/Math/MathML"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:db="http://docbook.org/ns/docbook">
<title annotations="slide">Core Classes</title>
<title>Core Classes</title>
<figure xml:id="sd1_coreclasses_fig_object">
<title>Superclass <classname
......@@ -40,7 +40,7 @@
<para>Implementation of <classname>java.lang.String</classname>:</para>
<programlisting>public final class String ... {
<programlisting language="java">public final class String ... {
private final char value[];
private int hash;
private static final long serialVersionUID = -6849794470754667710L;
......@@ -71,7 +71,7 @@
<figure xml:id="sd1_coreclasses_fig_stringCompare">
<title>Operator == and <methodname>equals()</methodname></title>
<programlisting>String s1 = new String("Kate");
<programlisting language="java">String s1 = new String("Kate");
String s2 = new String("Kate");
System.out.println("s1 == s2: " + (s1 == s2));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment