Answer Posted / gyana
If you want to debug java code, first you have to know at
what platform you use to write the java codes.
If you are using Textpad for writing java code ,then you
have to first save this file as "filename.java".Where the
file name should be same as the class which contain the
main method .Then go to command promot and type javac
filename.java to compile the programme.then if there is no
error then type java filename.In other way you just press
ctrl+1 to compile and ctrl+2 to debug.
Then if you are working on the netbeen
(Java software) then you have to only press F5 to debug the
project.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
How do you check if a number is a perfect square?
What is a short in java?
Explain the difference between jvm and jre?
How to create com object in Java?
What is the purpose of using break in each case of switch statement?
What about static nested classes in java?
What are the differences between heap and stack memory in java?
What flag up means?
Explain the difference between protected and default access.
What are variable arguments or varargs?
Which is bigger float or double java?
What is meant by object oriented programming – oop?
How is final different from finally and finalize?
What is static data type in java?
What is hashmap and map?