I'm trying to create an object by converting an 'int' to a 'String'. I'm working on an ADT stack program but I was asked to use data type String.
*I was able to figure out:
int top = -1;
String stkTop = Integer.toString(top);
*But how do I create this int to String?
int[] data;
data = new int[10];