<?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 13 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Object_lifetime&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Object_lifetime&amp;p=14">3.Next</a>
</p>
<p>In class-based programming, object creation is also known as instantiation (creating an instance of a class). Creation and destruction can be customized via a <a href="page.php?w=Constructor_%28object-oriented_programming%29">constructor</a> and a <a href="page.php?w=Destructor_%28computer_programming%29">destructor</a> and sometimes with separate initializer and finalizer methods.</p>

<p>Notably, a constructor is a class method as there is no object (instance) available until the object is created, but destructors, initializers, and finalizers</p><p>
<a accesskey="1" href="page.php?w=Object_lifetime&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Object_lifetime&amp;p=14">3.Next</a>
</p>

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

</card>
</wml>
