Answers were Sorted based on User's Feedback
Answer / kishore kumar
All the above answers are not a valid answers for interview
In the interview, you have to say:
we can debug the java code by using the log files.
|Is This Answer Correct ?||11 Yes||4 No|
Answer / shrads
By using F5 if we are working with java devlopment
|Is This Answer Correct ?||4 Yes||1 No|
Answer / kiran
jdb [ options ] [ class ] [ arguments ]
Command-line options, as specified below.
Name of the class to begin debugging.
Arguments passed to the main() method of class.
|Is This Answer Correct ?||5 Yes||4 No|
Answer / raghavendra
first you write a program in note pad.
after you save the program in "program name.jave"
after you check the java path and save the program correct
location after you start the compliation
javac program name.java
if any errors are generated again check the program and
remove the bugs
java program name
|Is This Answer Correct ?||3 Yes||2 No|
Answer / gyana
If you want to debug java code, first you have to know at
what platform you use to write the java codes.
If you are using Textpad for writing java code ,then you
have to first save this file as "filename.java".Where the
file name should be same as the class which contain the
main method .Then go to command promot and type javac
filename.java to compile the programme.then if there is no
error then type java filename.In other way you just press
ctrl+1 to compile and ctrl+2 to debug.
Then if you are working on the netbeen
(Java software) then you have to only press F5 to debug the
|Is This Answer Correct ?||1 Yes||3 No|
Answer / ravikiran(aptech mumbai)
by calling javac
|Is This Answer Correct ?||1 Yes||7 No|
Howmany address lines are required to addressing 1 MB memory?
What is unicode?
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?
Java support call by reference (pass by reference) ?
how can i kill thread without stop() and destroy()
How does serialization work
How the elements are organized in GridLayout?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
what is difference between throw and throws in exception?
whays is mean by inner class?
1) Find the Merge point of two linked lists. 2) Swap two bits of integer. 3) Reverse individual words of the sentence. 4) Reverse string without using temp string.