<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Record (computer science) - Page 18 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Record_(computer_science)&amp;p=17">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Record_%28computer_science%29&amp;p=19">3.Next</a>
</p>
<p>making all fields <code>final</code> and <code>private</code>, automatically generating all-argument constructors, getters, and the methods <syntaxhighlight lang="java" inline>boolean equals()</syntaxhighlight>, <syntaxhighlight lang="java" inline>int hashCode()</syntaxhighlight>, and <syntaxhighlight lang="java" inline>String toString()</syntaxhighlight>. Java records all implicitly extend <code>java.lang.Record</code>.</p>

<p>Although records are not often used in their original context anymore (i.e. being used solely for the purpose of containing</p><p>
<a accesskey="1" href="page.php?w=Record_(computer_science)&amp;p=17">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Record_%28computer_science%29&amp;p=19">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
