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
Should we create system software ( e.g operating system ) in java ?
What are the main classes of the list interfaces? : java collections
What is iterator in the java collections framework? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the different types of classes implemented in the set interfaces? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
my interviewer asked me what technical specification you used how to answer that question
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.
How is hashset maintained in memory by java ?
What is the Spring2.5 MVC Navigation flow?
What is the use of the list interface in the java collection? : java collections
What do you understand by synchronization? Why is it important?
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What are the types of the main implementing classes in the map interfaces? : java collections
what is mean by hasing and maping in java platform and advantage?