try 
        A.this.putData();

On Tuesday 06 November 2001 02:47, flora yuan wrote:
> Hi,
> class B is inner class of A. I want to invoke method putdate() which is
> defined in class A from inner class B. what's the syntax?
>
> public class A{
>    public void putData(){
>        ......
>    }
>
>    protected class B{
>       public void doSomething{
>            putData();//need to invoke method putdata. incorrect syntax.
>       }
>    }
> }
>
> Thanks,
>
> Flora


-- 
Rob Saul.:|:[EMAIL PROTECTED]:|:.de recta non tolerandum sunt


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

Reply via email to