Testing methods in java without running the whole program?

Caporegime
Joined
12 Mar 2004
Posts
29,962
Location
England
Is there a way to test out methods in java to see if they work properly without having to run the whole program, like in BlueJ? Can I use a debugger?
 
If your using Eclipse as your IDE then you can add something called a scrapbook page to you project which allows you to write Java code and execute it without writing a whole new class. It's nothing like BlueJ's Object Bench but you can quickly write some code.
 
Back
Top Bottom