Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training

java.lang.String.valueOf(int inum)

The valueOf(int inum) method in Java used for converting int value into string.

Ads

The valueOf(int inum) method in Java used for converting int value into string. Basically, inum converts the int value into a String. See the example below...

A simple example...

public static void main(String[] args)
{
String Str = String.valueOf(555);

// int values.
System.out.println(Str);

  }
  }

the output is:
555

Advertisements

Share on Google+Share on Google+

java.lang.String.valueOf(int inum)

Posted on: March 22, 2005 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

Discuss: java.lang.String.valueOf(int inum)  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads