This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I think its for debugging purposes. If while you are debugging an application you want to change code in the current method the debugger is able to reexecute that method with out having to restart the application.
Joined: Sep 20, 2001
Thanks Steve. This is interesting. I use Eclipse IDE I will try this. You mean this is not an IDE feature but built in JDK?
Joined: Oct 19, 2000
Yeah its cool. Eclipse is what I tried it with too. For somereason you can't do it in the main method. Im not sure if its because its static or not