A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Java in General
Joined: Oct 17, 2005
Oct 26, 2005 22:15:00
I want ot ask
objects are always allocated memory .So how string pool are allocated memory at compile time itself?
Joined: Aug 03, 2002
Oct 26, 2005 23:57:00
In General (Intermediate).
Ask a Meaningful Question
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: string pool
Objects on Heap
The well known String str = "abc" and String str1 = new String("abc");
can explain about heap and pool variables?
difference between poll memory and non-poll memory?
Pool of Interns Memory(String literals)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015