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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of interface used in the java collections? : java collections

1030


What are the differences between the java collection and the java list? : java collections

1103


Which interface does java.util.hashtable implement?

1188


What is the use of the list interface in the java collection? : java collections

1015


What are the considerations to be made in case of loops in java ?

1023


What is the Spring2.5 MVC Navigation flow?

6389


What is the difference between comparable and comparator in java.util pkg?

1113


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

2040


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

1049


What are the queues in the java collection framework? : java collections

1015


Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.

2036


What is iterator in the java collections framework? : java collections

966


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

2040


What are the different types of ways where you can iterate over a list? : java collections

1024


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

2375