O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apply Your Knowledge

Review Questions

1:What is the purpose of garbage collection?
2:When is an object subject to garbage collection?
3:How many times can an object's finalize() method be invoked?
4:Can an unreachable object become reachable again?
5:Under what conditions does the garbage collector invoke an object's finalize() method?
6:What is the purpose of finalization?
7:Does garbage collection guarantee that a program will not run out of memory?
8:If an object is garbage collected, can it become reachable again?
9:Can an object be garbage collected while it is still reachable?
10:Can an object's finalize() method be invoked while it is reachable?

Exam Questions

1:At which line in the following code is the Vector object created in line 4 first subject ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required