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
Why do we declare a class static?
Can an interface extend another interface?
What is difference between hashset and hashmap?
What are bind parameters?
List primitive java types?
What is the purpose of object oriented programming?
Can you sort a string in java?
How do you reverse a word in java?
Does constructor return any value?
Difference between arraylist and hashset in java?
Difference between character constant and string constant in java ?
What string is utf8?
Should database connections be singleton?
How are destructors defined in java?
What are the different types of multitasking?