Online Java Compiler By
JavaTpoint.com
public class IntegerToStringExample2 { public static void main(String[] args) { System.out.println("Output: "+Integer.toString(-12)); System.out.println("Output: "+Integer.toString(12)); } }
Output