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
What is a substitution variable?
What is Recursion Function?
What are runtime exceptions?
How do you download stubs from Remote place?
Can we extend private class in java?
What is core java used for?
Is singleton set an interval?
How many times finalize method will be invoked? Who invokes finalize() method in java?
How many bytes is a char in java?
Will minecraft java be discontinued?
What is method with example?
What is hashmap in java?
What does t in java mean?
What is meant by data hiding in java?
What is rmi and steps involved in developing an rmi object?