Machine language instructions for the program itself
Temporary data needed only for the duration of a method call
It's the value returned by doit(), either null or a heap address
You can't tell from the code supplied, you need to see the method header of doit().
The program runs out of space because so many objects have been created
A method is called which calls itself
The program runs out of space because a method was called but there is not enough memory to store its "stack frame"
If the method doesn't have a parameter called x.
If the method doesn't have a local variable called x within scope of the assignment statement.
If both A and B are true
The Widget is orphaned.
The variable w is out of scope.
The Widget may or may not be orphaned (if it is returned it may not be orphaned).
Although it's a tradition, the names have no special meaning.
"fubar" is an old miitary term whose meaning rhymes with "mucked up beyond all repair"
This convention is only true at Penn.
Solving Debugems was helpful in learning programming concepts.
Solving Debugems was not helpful in learning programming concepts.
I did not work on the Debugems (or can not answer yes or no for some other reason).