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
What are the types of interface used in the java collections? : java collections
What are the differences between the java collection and the java list? : java collections
Which interface does java.util.hashtable implement?
What is the use of the list interface in the java collection? : java collections
What are the considerations to be made in case of loops in java ?
What is the Spring2.5 MVC Navigation flow?
What is the difference between comparable and comparator in java.util pkg?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are maps interfaces in the java collections? : java collections
What are the queues in the java collection framework? : java collections
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.
What is iterator in the java collections framework? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What are the different types of ways where you can iterate over a list? : java collections
my interviewer asked me what technical specification you used how to answer that question