X1156: Catch Exception The method divideValues() will throw an…
Question Answered step-by-step X1156: Catch Exception The method divideValues() will throw an… X1156: Catch ExceptionThe method divideValues() will throw an IllegalArgumentException if either parameter is 5. The method below takes two integer values as parameters and calls divideValues() in a try block. Complete the missing part of the catch clause. public int callDivide(int num, int denom){ int value = 0; try { value = divideValues(num, denom); } { value = 0; } return value;} Computer Science Engineering & Technology Java Programming CS 1114 Share QuestionEmailCopy link Comments (0)


