wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Question 10 capitulo 3 kathy sierra book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Question 10 capitulo 3 kathy sierra book" Watch "Question 10 capitulo 3 kathy sierra book" New topic

Question 10 capitulo 3 kathy sierra book

Mauricio Archbold Babroza

Joined: Apr 01, 2009
Posts: 11

Which two are true about the objects created within main(), and eligible for garbage collection when line 14 is reached?
these are the answers:
C. Five objects were created
F. Two objects are eligible for GC

what are the five objects???
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Hi Mauricio, and welcome to the ranch.

This kind of questions come frequently here, so you can search for such question and see if other ranchers have not already answered. Here is one thread which has the same question.

[My Blog]
All roads lead to JavaRanch
Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

Mauricio, please Use Code Tags when you post a source code. It makes your program more readable...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Don't get me started about those stupid light bulbs.
subject: Question 10 capitulo 3 kathy sierra book
Similar Threads
Bert Bates Kathy Sierra Java 6 Study Guide
HI please Help with. GC Kathy and Bert Book
chapter 3 self test question 10, K&B
Garbage Collection - P274 Kathy Sierra
ch-assignment in kb ,need explanation of output:question 10