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

What is an argument java?

507


What are advantages of exception handling in java?

558


What is an empty list in java?

497


What is re-factoring in software?

555


Write a code to show a static variable?

589






What is Java Shutdown Hook?

586


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

569


What does null mean in java?

606


How many bits is a word?

542


Difference between method overloading and method overriding in java ?

540


Explain the difference between abstraction and encapsulation.

519


What is a platform?

515


Why constructor has no return type?

618


Explain notify() method of object class ?

577


Can we overload the main() method?

526