Click here to watch in Youtube :
https://www.youtube.com/watch?v=DfX43K-iD1I&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
Java Tutorial : Java String [valueOf methods] |
public class ValueOfDemo { public static void main(String[] args) { int intValue=30; String str=String.valueOf(intValue); System.out.println(str); double doubleValue=30; str=String.valueOf(doubleValue); System.out.println(str); char[] charArray ={'H','i'};; str=String.valueOf(charArray); System.out.println(str); boolean value = true; str=String.valueOf(value); System.out.println(str); } }
30 30.0 Hi true
https://sites.google.com/site/javaee4321/java/StringDemo_valueOf_methods_App.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/StringDemo_valueOf_methods_App
Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/89dfdef018d2970576505c9f498b5e4f28628c35/BasicJava/StringDemo_valueOf_methods_App/?at=master
See also:
No comments:
Post a Comment