How can 2 different classes point to the same datatable name
<p>I need to initialize an object in a method without specifying the class from where the object is. Can I do that?</p>

<p>can someone give me an example?</p>

<p>EDIT:</p>

<pre><code>MyClass{
...};
MySecondClass
{...
};
void method(*object); //how to write correct??
{..}
MyClass *x= new MyClass();
MySecondClass *y= new MySecondClass();
method(x);
method(y);
</code></pre>
