You need to implement the calculateSquare method.
It should output the square of the element defined by the provided array index using println() function. In the case when the exception might happen, your program output should be: Exception!
You need to implement the calculateSquare method.
It should output the square of the element defined by the provided array index using println() function. In the case when the exception might happen, your program output should be: Exception!
Create a free account to access the full topic