Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
Eligible objects - GC question
Balkı Gemirter
Greenhorn
Posts: 4
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The answer is five objects; I find 4...
da, da[0], da[1] and d.
Which is the fifth one? Any idea?
FullSizeRender.jpg
Question
Paweł Baczyński
Bartender
Posts: 2236
63
I like...
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Fifth one is
dz
.
You should
not count variables. You should count objects.
There are
1. new Dozens[3]
2. new Dozens()
3. int[] inside 2
4. new Dozens()
5. int[] inside 4.
Sergej Smoljanov
Ranch Hand
Posts: 472
10
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
https://coderanch.com/t/652694/java-programmer-SCJP/certification/Arrays-Objects#3016944
may be this post help to count
Balkı Gemirter
Greenhorn
Posts: 4
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thank you all!
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Question about GC and Objects
Garbage Collection - P274 Kathy Sierra
Garbage Collector Question-1
HI please Help with. GC Kathy and Bert Book
K&B SCJP6 Chapter 3- Q10 a GC question
More...