A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
local method inner class
Joined: Aug 22, 2007
Jun 09, 2008 15:49:00
I have a outer class in which there are two methods. Both methods has a inner class which have the same name. What will happen when we compile this outer class? :roll:
SCJP1.5 with 90%
author and jackaroo
Joined: Mar 28, 2003
Jun 09, 2008 20:46:00
Moving to the Java in General (beginners) forum.
What happened when you tried to compile this yourself?
The Sun Certified Java Developer Exam with J2SE 5:
paper version from Amazon
PDF from Apress
, Online reference:
I agree. Here's the link:
subject: local method inner class
EVERY THING ON INNER CLASSES
Inner class passing reference of outer class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014