Hi ! Friends Welcome to Education Forums

Please Get Registered in these Forums and Get Complete Information regarding your Interests ,If You Wanna Ask Any Questions or Doubts On Any Topic.
Then Please Post Your Questions In Correct Section For Getting Perfect Solutions From Our Registered User's .
Thanks For Viewing Our Forums.
(This Notification wil Remove After Login Or Registration !!)


 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Java interview questions and answers
11-28-2011, 11:17 PM
Post: #1
Java interview questions and answers


1. What is garbage collection? What is the process that is responsible for doing that in java?
Ans:
2. What kind of thread is the Garbage collector thread?
Ans:
3. What is a daemon thread?
Ans:
4.How will you invoke any external process in Java?
Ans:
5. What is the finalize method do?
Ans:
6. What is mutable object and immutable object?
Ans:
7. What is the basic difference between string and stringbuffer object?
Ans:
8. What is the purpose of Void class?
Ans:
9. What is reflection?
Ans:
10.What is the base class for Error and Exception?
Ans:
11.What is the byte range?
Ans:
12.What is the implementation of destroy method in java.. is it native or java code?
Ans:
13.What is a package?
Ans:
14.What are the approaches that you will follow for making a program very efficient?
Ans:
15.What is a DatabaseMetaData?
Ans:
16.What is Locale?
Ans:
17.How will you load a specific locale?
Ans:
18.What is JIT and its use?
Ans:
19.Is JVM a compiler or an interpreter?
Ans:
20.When you think about optimization, what is the best way to findout the time/memory consuming process?
Ans:
21.What is the purpose of assert keyword used in JDK1.4.x?
Ans:
22.How will you get the platform dependent values like line separator, path separator, etc., ?
Ans:
23.What is skeleton and stub? what is the purpose of those?
Ans:
24.What is the final keyword denotes?
Ans:
25.What is the significance of ListIterator?
Ans:
26.What is the major difference between LinkedList and ArrayList?
Ans:
27.What is nested class?
Ans:
28.What is inner class?
Ans:
29.What is composition?
Ans:
30.What is aggregation?
Ans:
31.What are the methods in Object?
Ans:
32.Can you instantiate the Math class?
Ans:
33.What is singleton?
Ans:
34.What is DriverManager?
Ans:
35.What is Class.forName() does and how it is useful?
Ans:
36.Inq adds a question:
Ans:
Download Below Attachment
[Image: download.png]


Attached File(s)
.docx  Java interview questions and answers.docx (Size: 26.27 KB / Downloads: 1)

Feel Free to Send PM . For Any Query
Reply
11-29-2011, 06:31 PM
Post: #2
Very nice Answers. Thanks for the little tutorial, and the explanations of the Definitons. :)
Reply
12-01-2011, 02:15 PM
Post: #3
Nice Post Dude.
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)