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 . . .
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 . . .
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?
SCJP 6. Learning more now.
butjava Mudchuite
java spital.Mudchute
Campbell Ritchie wrote:Because you are not using the package name. It's not
butjava Mudchuite
java spital.Mudchute
SCJP 6. Learning more now.
Rahul Sudip Bose wrote:
Campbell Ritchie wrote:Because you are not using the package name. It's not
butjava Mudchuite
java spital.Mudchute
did that, still the same error ?
Sudhakar Sharma wrote:
may be you are inside the spital directory.
SCJP 6. Learning more now.
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]
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?
Joanne
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" ?