satellite03
IS-IT--Management
hi, i am learning java...
i want to know how i can debug in a java code.
if its a C code....then i do some print() statements and exit(1) for debugging.
usuing those print statements i can find out my error easily .
but i think there is no such exit(1) like keyword in java. is it????
then how to debug in a java code?
recently i have compiled a java code sucessfully...but at the runtime i am getting
"....Exception in thread "main" java.lang.NoSuchMethodError: main
Press any key to continue... " ---------error.
i dont know what is this. how can i fix this??
will you tell what is the procedure to debug a java code
thanks...
i want to know how i can debug in a java code.
if its a C code....then i do some print() statements and exit(1) for debugging.
usuing those print statements i can find out my error easily .
but i think there is no such exit(1) like keyword in java. is it????
then how to debug in a java code?
recently i have compiled a java code sucessfully...but at the runtime i am getting
"....Exception in thread "main" java.lang.NoSuchMethodError: main
Press any key to continue... " ---------error.
i dont know what is this. how can i fix this??
will you tell what is the procedure to debug a java code
thanks...