Campbell Ritchie wrote:Just shows you have to read the question
Joanne Neal wrote:
Frankely Diaz wrote:
Paul Clapham wrote:You say it outputs 10, then it outputs "island"? Then it's up to you to explain how those two things happen.
I just took the correct answer of those options , assuming that the class was in the correct directory and was called with the full qualified name. Or i got wrong?
Can you tell us which line of the code prints "10" ?
Paul Clapham wrote:
Frankely Diaz wrote:
Campbell Ritchie wrote:
Disagree. You don't get that output. Not with the code which has been posted.Frankely Diaz wrote:2) Output of 10 followed by island
that's the correct answer there is not errors or problems in your code . . .
Why, where it goes wrong?
You say it outputs 10, then it outputs "island"? Then it's up to you to explain how those two things happen.
[Edit]Corrected spelling of "say"[/edit. CR]
Campbell Ritchie wrote:
Disagree. You don't get that output. Not with the code which has been posted.Frankely Diaz wrote:2) Output of 10 followed by island
that's the correct answer there is not errors or problems in your code . . .