So please do enlighten. Now is your time!
Liutauras Vilda wrote:and I think you were mistaken about this statement. While you don't understand Hello World written in its simplest form, there is no point in going further towards more difficult code
Let it be random. That's the way children learn!
Liutauras Vilda wrote:This thread is already going in a quite chaotic way (in my opinion), and going same way any further will make it worse, I'm afraid.
So, why are you waiting for? Fire!
Liutauras Vilda wrote:I have mentioned to you before ... For a start, try to understand this statement and its separate pieces ... Did it happen? If not, why are you trying to go any further?
Campbell Ritchie wrote:No, there is a different window on Eclipse for passing command line arguments. Once you have entered arguments, those arguments stay there for ever . . . or until you go back to the window and change them ...You can still use the console for Scanner inScan = new Scanner(System.in); or similar. Note that input to the Eclipse console changes automatically to green text
Campbell Ritchie wrote:You were asking about System.out.println yesterday ... I wrote an explanation here.
My question is: Then why is the API tutorials written so confusingly? It will take a lot of time to overcome the learning curve to understand Java, I find!
Campbell Ritchie wrote:... You can pass absolutely anything to System.out.println as long as you have not more than one argument, and the compiler will find some version of the method that can handle it ...
Rajib Ban wrote:My question is: Then why is the written so confusingly? It will take a lot of time to overcome the learning curve to understand Java, I find!
Rajib Ban wrote:My question is: Then why is the API tutorials written so confusingly? It will take a lot of time to overcome the learning curve to understand Java, I find!
Liutauras Vilda wrote:
Rajib Ban wrote:How do I pass it arguments? I am executing via Eclipse 'Run'.
Executing program via console, is easier to pass arguments in my opinion.
Piet Souris wrote:... I'm a convinced CLI hater, and when I had to use command line arguments in my IDE, I simply used...I found that very practical... as Campbell wrote, there is an option to enter the arguments in a dedicated form (in NetBeans: rightclick on the project, select the option "run" and fill in whatever you want), but I only use that for setting the maximum memory.
Rajib Ban wrote:Yes, thanks! But what about in Eclipse?
Hmm, from memory: I think that is correct. I usually R‑click the class in the L perspective, and find the run instruction from the dropdown list, myself.
Piet Souris wrote:Hmm, from memory:
click the "Run" option in the bar above, then choose "Run configurations" . . .
Unfortunately, I think OP has been unlucky and found a site which doesn't teach very well.
elastic 3D bouncing balls need much more looking up and finding out than this.
Edit : you did exactly that, so well done!
Somebody has already told you there is a difference between a specification and a tutorial. It may seem petty, but changing the post to remove the word tutorial would have made subsequent replies confusing. Sorry for not changing it, but I believe the post shouldn't be changed. There are tutorials about, and this is one of them. I think it doesn't introduce object‑orientation (=OO) early enough, nor use a strict OO programming style, but it is the most comprehensive tutorial I have ever seen.
Rajib Ban wrote:. . . why is the API tutorials written so confusingly? It will take a lot of time to overcome the learning curve to understand Java, I find!
Rajib Ban wrote:I am a fussy writer who wants to keep posts clean.
Bear Bibeault wrote:Then I'd suggest that you make copious use of the Preview capability before submitting your posts.
Rajib Ban wrote:No, you could compare me with a tubelight that has a defective starter and a choke. Takes some time to glow as I take some re-reading to identify areas for improvements ;-)