• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question 10 capitulo 3 kathy sierra book

 
Mauricio Archbold Babroza
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mauricio, please Use Code Tags when you post a source code. It makes your program more readable...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic