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 meant by flickering?
What are access specifiers available in java?
What is the full form of jpeg?
What is 32 bit float?
Can we have any other return type than void for main method?
What is the Scope of Static Variable?
What are the basic interfaces of java collections framework?
Can java arraylist hold different types?
Is null a string in java?
What is difference between overloading and overriding in java?
Can a abstract class be defined without any abstract methods?
How would overload a function based on return type?
List out benefits of object oriented programming language?
Explain the significance of class loaders in bootstrap?
When the constructor of a class is invoked?