How to find errors and change run?
Users questions: I am a beginner, every time I write a program that error. But I do not really know how to correct it? Ask whether it is the best way?
Experts answer: to use some advanced ide, such as eclipse, single-step debugging, Behold step error. But the couple is not recommended. In code Some print statements to write System.out.println (), see each step of program execution to the data changes, one thing is to write high-level testcase to test their method of writing.