GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes diff valueof() and copyValueOf() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "diff valueof() and copyValueOf()" Watch "diff valueof() and copyValueOf()" New topic
Author

diff valueof() and copyValueOf()

ram kri
Greenhorn

Joined: Dec 08, 2005
Posts: 12
what is difference between

public static String valueof(char[] data, int offset ,int count)

and

public static String copyValueOf(char[] data, int offset, int count)
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
None. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4852318 (found via google)


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
GeeCON Prague 2014
 
subject: diff valueof() and copyValueOf()