Answer:
Option (e)
Explanation:
Option (e) is the answer. It indicates the exception thrown and displays it. It also indicates the place where the exception was thrown ( at what line of the code the exception was thrown )
Option (a) is false as the program which was terminated because of an exception which was not handled doesn't starts automatically.
Option (b) is false as it doesn't opens a dialogue box about running the program another time or anything. It just terminates because of the unhandled exception.
Option (c) is false as it doesn't saves all the output to a disk file called the "runStackTrace.txt".
Option (d) is false as it doesn't open a dialogue box. The program terminates because of the unhandled exception.
Answer:
the answer is going to be printer
Answer:
The value of sum is 66
Explanation:
i = 1
sum = 0
while (i <= 11) {
sum = sum + i;
i++;
}
i = 1
- sum = sum + i
- sum = 0 + 1
- sum = 1
i = 2
i = 3
i = 4
i = 5
i = 6
i = 7
i = 8
i = 9
i = 10
i = 11
i = 12 --> does not comply with the condition "i < = 11", the while loop is over