4)Write a Program that creates User Interface to perform Integer Divisons.The user enters two numbers in text fields, Num1 and Num2.The division of Num1 and Num2 is displayed in the result field when the divide button clicked. If Num1 or Num2 were not integer, the program would throw a NumberFormatException, If Num2 is Zero, and the program would throw an Athematic Exception. Display the Exception in message box.
0 comments:
Post a Comment