BTW, Your thumbnail image of the error "NoSuchElementException" is what happens when you try to read from a closed console.
Regards,
Jim
Type: Posts; User: jim829
BTW, Your thumbnail image of the error "NoSuchElementException" is what happens when you try to read from a closed console.
Regards,
Jim
No, it won't. In fact, if you were to continue to ask for input for conversions, say in a loop, your program wouldn't work.
Try running this simple program to see what happens when you close the...
Unreachable code means that due to some logic, that code won't be reached. Here is an example:
void foo() {
// do something
return;
a = 10; <-- this code will not be reached....