Sandra Bachan wrote:Hi Rajeev,
I tried your code while compiles and runs; how do I get seeOuter() to execute?
I've tried several options, but none of them work, please assist.
Hi Sandra, please see my code. While calling new MyOuter2().doStuff(), doStuff() will call seeOuter();
Otherwise you could call
inside doStuff()
Try to run my code, it gives output of seeOuter();
SCJP6, SCWCD5, OCP-JBCD5, OCE-JWSD6 OCE-JPAD6 , OCM-JEA5 1,OCM-JEA5 2,3,OCJP8 - Brainbench certifications: J2EE, Java2, Java2-NonGUI, JSP, SQL2000 Admin, SQL2000 Programming , Brainbench certified Java Programmer, Computer Programmer, Web Developer, Database Administrator