Are you using an IDE with interactive debug? That could be "more efficient" for you.
It's a personal preference which way to debug a program. I find the use of println()s to be better in some...
Type: Posts; User: Norm
Are you using an IDE with interactive debug? That could be "more efficient" for you.
It's a personal preference which way to debug a program. I find the use of println()s to be better in some...
Can you explain how my suggestion is a problem?
A way you find problems in your code is to debug it. I use println()s. Try adding some to see why "it will be moving sideways only."
To execute...
Please post the code on the forum, not links.
You could also start debugging the code as I suggested in post#5.
Maybe with a simple program. More complicated programs need to be executed to see what they are doing.
The approach I take to find out why code does what it does is to debug it.
I use the println() statement to print out messages in every method that is called and to print the values of variables as...