<?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="Object lifetime - Page 14 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Object_lifetime&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Object_lifetime&amp;p=15">3.Next</a>
</p>
<p>are instance methods. </p>

<p>Further, constructors and initializers often can accept arguments, while destructors and finalizers generally do not as they are often implicitly callable.</p>

<p><big>Resource management</big></p>
<p>In languages with deterministic lifetime objects, lifetime may be used to piggyback <a href="page.php?w=Resource_management_%28computing%29">resource management</a>. This is called the <a href="page.php?w=Resource_Acquisition_Is_Initialization">Resource Acquisition Is Initialization</a> (RAII) idiom. Resources are acquired</p><p>
<a accesskey="1" href="page.php?w=Object_lifetime&amp;p=13">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Object_lifetime&amp;p=15">3.Next</a>
</p>

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

</card>
</wml>
