C++ - function overriding or overloading
<pre><code>class A
{
     public:
          int func1()
          {
                cout&lt;&lt;"A's func1";
          }
}

class B:public A
{
     public:
          int func1()
          {
                cout&lt;&lt;"B's func1";
          }
}
</code></pre>

<p>in the above code snippet , is the function  ' func1()'  getting overloaded in class B ?</p>

<p>or getting overrided by class B ..?</p>
