Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
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
.
Forums
Homework Help
Engineering and Comp Sci Homework Help
Having trouble with last part of JAVA programming assignment.
Reply to thread
Message
[QUOTE="AlephZero, post: 4656409, member: 63630"] [CODE] fuelOnboard/2; [/CODE] is an expression, not a statement. It calculates something, but you didn't say what to do with the answer. you don't have to make it equal "some other" variable. You have probably already seen statements like [CODE] x = x + 2; [/CODE] That means "work out the value of the right hand side" (i.e., the value of x+2) "and then assign it to the variable on the left hand side." In other words, increase the value of x by 2. You found the bug in the deploy() method, but there is a similar bug in another method in the Ship class. [/QUOTE]
Insert quotes…
Post reply
Forums
Homework Help
Engineering and Comp Sci Homework Help
Having trouble with last part of JAVA programming assignment.
Back
Top