aspose file tools
The moose likes Beginning Java and the fly likes local method inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "local method inner class" Watch "local method inner class" New topic

local method inner class

Madhawi Maurya
Ranch Hand

Joined: Aug 22, 2007
Posts: 42
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%
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11567

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: Books 24x7 Personal blog
Consider Paul's rocket mass heater.
subject: local method inner class