public class text1
{
public static void main(String[] args)
{
System.out.println("数值型数据转换成字符");
int a=1234;
String b =" "+a;
System.out.println(""+b);
System.out.println("字符串转换成数值型");
String c="1234.12";
Float d= Float.parseFloat(c);
System.out.println(""+d);
}
}