Click here to watch in Youtube :
https://www.youtube.com/watch?v=09ZMmsqvvaw&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
Java Tutorial : Java String [copyValueOf(char[] data) method] |
/* * public static String copyValueOf(char[] data) * * Equivalent to valueOf(char[]). * * Parameters: * ---------- * data - the character array. * * Returns: * ------- * a String that contains the * characters of the character array. */ public class CopyValueOfDemo { public static void main(String[] args) { char[] charArray = { 'H', 'i' }; String str = String.copyValueOf(charArray); System.out.println(str); } }
Hi
https://sites.google.com/site/javaee4321/java/StringDemo_copyValueOf_App.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/StringDemo_copyValueOf_App
Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/12836b6e32056aa84ee5263036ba2429cc0bd845/BasicJava/StringDemo_copyValueOf_App/?at=master
See also:
No comments:
Post a Comment