SABYASACHI S GUPTA wrote:

>
> Now I get the compilation error that method is not there in Object.
> So now if I want to call the method of the newly created instance
> what should I do...
>

Cast it.

((myclass) b).method()




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to