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 entry in java?
What is array and arraylist in java?
Differentiate between overriding and overloading cases?
Which methods are used during serialization and deserialization process?
Can we use a switch statement with strings?
worst case complexities of Quick sort and Merge sort.
How many types of exception can occur in a java program?
What is the longest unicode character?
What does sizeof return?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
Explain about sets?
How to invoke external process in java.
What is illegal identifier in java?
What is remote method invocation (rmi)?
How many decimal digits is 64 bit?