Hi Suresh Regmi,
First of all, a warm welcome to CodeRanch!
Suresh Regmi wrote:How? column should be updated.
I agree! Especially because on the previous page in the section
Static vs. Instance this case is illustrated with an example: it's suggested to invoke
new Static().third(); from the (static)
main method.
So both the columns
Legal? and
How? should be updated to
Yes and
Using a reference variable respectively.
Hope it helps!
Kind regards,
Roel