import java.util.*;
public class test01 {
/**
* @param args
*/
public static void main(String[] args)
{
// TODO Auto-generated method stub
System.out.println("Hello !!!\nThis is my first Java program!!");
String strin=new String();
Vector v=new Vector();
int b=0;
try
{
b = System.in.read();
}
catch (Exception e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
while(true)
{
if(b=='\r'||b=='\n')
break;
else
{
int num=b-'0';
v.add(new Integer(num));
}
}
strin=v.toString();
System.out.println(strin);
}
}
它说 v.add(new Integer(num));
这句有什么安全问题!!!