Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

local method inner class  RSS feed

 
Madhawi Maurya
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12085
243
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Java in General (beginners) forum.

What happened when you tried to compile this yourself?

Andrew
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!