java.lang
Class Integer
java.lang.Objectjava.lang.Number
java.lang.Integer
- All Implemented Interfaces:
- Serializable, Comparable<Integer>
Method Summary
Example:
public class app1_4
{
public static void main(String args[])
{
int n1 = Integer.parseInt(args[0]);
int n2 = Integer.parseInt(args[1]);
System.out.println("n1 + n2 = " + (n1 + n2));
}
}

沒有留言:
張貼留言