59. wrapped_class2
//wrapper classes
class wrapped_class2
{
public static void main(String[] args) {
int a = Integer.parseInt(args[0]);
int b = Integer.valueOf(args[1]).intValue();
int mul = a * b;
System.out.println("Multiplication : " + mul);
}
}
OUTPUT:
java wrapped_class2 10 20
Multiplication : 200
Comments
Post a Comment