Core Java
Advance Java
Spring
Hibernate
Contact
Java Knowledge
Wednesday, March 30, 2011
Without Handle ArithmeticException in a Sample Program
class WithoutHandle{
public static void main(String args[])
{
System.out.println("started");
int n,d,q=1;
n=Integer.parseInt(args[0]);
d=Integer.parseInt(args[1]);
q=n/d;
System.out.println("the result");
System.out.println("complete");
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment