CodeGym /Java Course /Java Collections /Interview questions | Level 4

Interview questions | Level 4

Java Collections
Level 4 , Lesson 14
Available

"Hi, Amigo!"

Interview questions
1 What is garbage collection?
2 When is the finalize method called?
3 What happens if an exception occurs in the finalize method?
4 What is a SoftReference?
5 What is a WeakReference?
6 What is a PhantomReference?
7 How does a WeakHashMap work? Where is it used?
8 Why do we need to pass a queue to the PhantomReference constructor?
9 Why do we need a logger?
10 What logger settings do you know?
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION