Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes Java Beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Beginner" Watch "Java Beginner" New topic
Author

Java Beginner

Nadir Rehman
Greenhorn

Joined: Nov 30, 2001
Posts: 1
Can anybody help me to find information related with intern() function?
------------------
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Use the search facility at top-right to search this forum.
------------------
Bosun
SCJP for the Java� 2 Platform


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Khurram Hussain
Greenhorn

Joined: Sep 29, 2001
Posts: 2
hello there
intern() method is use to change string object from heap to pool.
String aa=new String("Hello"); //this is in heap
String bb="Hello"; //this is in a pool

if ur still confuse please mail me.My email address is y2khurram79@yahoo.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Beginner