Page 1 of 1

About Question enthuware.ocajp.i.v7.2 . 1294 :

Posted: Fri Feb 20, 2015 4:57 am
by Paul M
Hi,

The question here states "What will the code shown below print when run?"
You have to select 2 options.

I can see only one print statement being run when w.w = 50 ?

Apologies if I'm missing something obvious.

Paul

Re: About Question enthuware.ocajp.i.v7.2.1294 :

Posted: Fri Feb 20, 2015 9:50 am
by admin
There are two print statements. One is at the last line of the code listing.

Re: About Question enthuware.ocajp.i.v7.2.1294 :

Posted: Fri Feb 20, 2015 10:11 am
by Paul M
Sorry I cut and pasted the routine in to Netbeans....missed the last line.

Thanks Paul