This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Methods" Watch "Methods" New topic


Aafreen Moinuddin

Joined: Feb 16, 2006
Posts: 20
Can we write a method inside method?

Mattias Arthursson
Ranch Hand

Joined: Jul 26, 2004
Posts: 90

Admit nothing. Blame everyone. Be bitter.
Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
well, you can create an anonymous inner class inside a method body, and this class probably will have methods...
I agree. Here's the link:
subject: Methods
Similar Threads
Changin font in a JTextArea
Finalization Method
NX: When should I throw DuplicateKeyException?
Sharpen your Pencil - Page 323 in HFEJB
garbage collection