Consider this program: When the program is given an input of 20, it crashes with
ID: 3639886 • Letter: C
Question
Consider this program:
When the program is given an input of 20, it crashes with this report:
StdIn.readLine() is a method that reads the user’s typed input from theDrJava interaction pane.
Draw the activation stack as it exists at the moment of the crash. Indicate the name and value of every variable in each activation record. If the variable is an object reference, indicate that fact and draw the object’s value(s) off to the side of the stack (since object values are stored in the heap, not the stack).