Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
quick help with terminal command
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vansmith" data-source="post: 1169264" data-attributes="member: 71075"><p>Yes, programming questions should be in the development forum.</p><p></p><p>In the meantime, I tried to compile the code and got 3 errors all to do with the println line. It makes sense - why do you have the ("counter" + counter*counter) after the println statement?</p><p></p><p>Another thing to note - the name of your file and the name of the class have to be exactly the same. While you have the same word, the case has to be the same as well. So, either name the file Countertest.java or rename the class CounterTest.</p></blockquote><p></p>
[QUOTE="vansmith, post: 1169264, member: 71075"] Yes, programming questions should be in the development forum. In the meantime, I tried to compile the code and got 3 errors all to do with the println line. It makes sense - why do you have the ("counter" + counter*counter) after the println statement? Another thing to note - the name of your file and the name of the class have to be exactly the same. While you have the same word, the case has to be the same as well. So, either name the file Countertest.java or rename the class CounterTest. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
quick help with terminal command
Top