How can you debug the Java code?

Answer Posted / raghavendra

first you write a program in note pad.
after you save the program in "program name.jave"
after you check the java path and save the program correct
location after you start the compliation
compilation method:
javac program name.java
if any errors are generated again check the program and
remove the bugs
finally
java program name

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you compare arrays in java?

505


Where local and global variables are stored?

546


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

841


When throw keyword is used?

592


Can we sort hashmap in java?

533






What exceptions occur during serialization?

612


What are measurable parameters?

571


What is the static keyword?

592


What is tcp ip in java?

591


Is there a jre for java 11?

558


What is io stream in java?

521


What are peerless components?

624


How to invoke external process in java.

570


Difference between process and thread?

607


What are structs in java?

575