aspose file tools*
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
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
Author

Question 10 capitulo 3 kathy sierra book

Mauricio Archbold Babroza
Greenhorn

Joined: Apr 01, 2009
Posts: 11
Given:



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é
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question 10 capitulo 3 kathy sierra book