Forums Register Login

say what?

+Pie Number of slices to send: Send
i got this from a scjp book somewhere. i understand why it compiles and runs but I dont get the output. here is the code:



and from the command line:


what i dont get is what happened to the "-" character? shouldnt this be part of the parameters?
+Pie Number of slices to send: Send
In the loop, the condition increments the value of x before the statements in the body of the loop are executed.
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 916 times.
Similar Threads
Exception in thread "main"
command line invocation
While loop - Head's First Java example
Not looping...
static doubt
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 10:23:52.