How do you debug your java program?
Answers were Sorted based on User's Feedback
Answer / vidhya
1. Debugging Java program is done using Sysout's.
2. If an error occurs and we are not able to guess where it
occurs, Sysout can be given line by line and checked.
3. One can use LogWriter/LogManager which will also help us
write into a file and see the error/exception.
4. One needs to import log4j.jar and log4j.xml/properties
file where the logfile name and path is specified.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / aashish r. wadhokar
Java programs can be debug using Sysout statement of System
class and output of these statements can be find on console
in eclypse.
or catalina.out file of tomcat server
or we can configure our project's log file using log4j.jar file
Is This Answer Correct ? | 4 Yes | 0 No |
what is hibernate ceteria ?
Difference b/w >> and >>> ?
what is mean by hasing and maping in java platform and advantage?
what debugging tool that can be used to debug the java programs?
what is class/object diagram
Am chittibabu from vadavalli, My father name is nanjan.he is working in state bank of india at vadavalli, My mother name is ramal. She is house wife. My brother name is rajaram he is working in Privete Company. I was born on 25-january-1984 at bhavanisager in Erode District. I have completed my school in government higher secondary school bhavanisager. After that I came to coimbatore for higher study.i have joined Bsc computer science in sri ramalinga sowdambigai college of science and commerce, affiliated by bharathiyar university, coimbatore. In the same college, I have continued UG degree also. but I got a job in Systech infovation as a software programmer,so I discontinued Msc Degree.I have one and half years experience from this concern. Here I have completed two products; one is Tranport management solution for balaji goods carriers at tirupur. Another one is Embroidery Management Solution for Angel Embroidery at tirupur. After that I got an another job in metis technologies as senior software engineer. I have one year experience from this company.here I working in school management product.it is developing version by version.
Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
can u draw class/object diagram for ATM
0 Answers HCL, Zycus Infotech,
What is the enumerator of the java collection framework? : java collections
What is the Spring2.5 MVC Navigation flow?
What are the different types of ways where you can iterate over a list? : java collections