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 are the library functions in java?
What is the r character?
What is getclass () getname () in java?
Explain about complier design(phases)
Difference between notify() method and notifyall() method in java?
Explain how to convert any java object into byte array.
Differentiate between class and structure.
What is array and arraylist in java?
How to make a non daemon thread as daemon?
What is the private method modifier?
what is inner class in java?
What is a memory leak in java?
What are the restrictions imposed on method overriding?
What are the main features of java?
What is a parameter example?