자바(JAVA) 형 변환(String과 int)



Strinig to int


String from = "123";

int to = Integer.parseInt(from);



int to String


int from = 123;

String to = Integer.toString(from);