Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do you debug your java program?

Answers were Sorted based on User's Feedback



How do you debug your java program? ..

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

How do you debug your java program? ..

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

Post New Answer

More Java J2EE AllOther Interview Questions

what debugging tool that can be used to debug the java programs?

1 Answers   Inforica,


who should use JNDI?

1 Answers  


What are maps interfaces in the java collections? : java collections

0 Answers  


my interviewer asked me what technical specification you used how to answer that question

0 Answers  


what is difference between web server and application server?

1 Answers   L&T,


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

0 Answers   NSN,


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

0 Answers  


what protocols does JNDI provide an interface to?

1 Answers  


what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API?

1 Answers   TCS,


please mail me the interview question based on java/j2ee

0 Answers   Wipro,


Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...

2 Answers   Span Systems,


What is the difference between Eclipse and MyEclipse?

7 Answers   IBM, Wavex,


Categories