<?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="Constructor (object-oriented programming) - Page 6 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Constructor_(object-oriented_programming)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Constructor_%28object-oriented_programming%29&amp;p=7">3.Next</a>
</p>

<p><syntaxhighlight lang="cpp">Point p = Point(0, 50);  // Explicit call.Point p2(0, 50);  // Implicit call.</syntaxhighlight></p>

<p><big> Default constructors </big></p>
<p>If the programmer does not supply a constructor for an instantiable class, <a href="page.php?w=Java_compiler">Java compiler</a> inserts a <a href="page.php?w=default_constructor">default constructor</a> into the code. This constructor is known as default constructor. It would not be found in <a href="page.php?w=source_code">source code</a> (the  file) as it would be inserted into</p><p>
<a accesskey="1" href="page.php?w=Constructor_(object-oriented_programming)&amp;p=5">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Constructor_%28object-oriented_programming%29&amp;p=7">3.Next</a>
</p>

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

</card>
</wml>
