Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

-3 to string in java

 javaCopypublic class SimpleTesting{
    public static void main(String[] args) { 
        Integer iVal = 123;
        System.out.println("Integer Object value: "+iVal);
        String str = iVal.toString();
        System.out.println("String value: "+str);
    }
}
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #string #java
ADD COMMENT
Topic
Name
9+1 =