The normal meanings:
To adjust is to change the current value by some amount.
Adjust 10 by +5 gives 15
To set means to change the value to a new value.
Set 10 to 5 gives 5
Check the code to...
Type: Posts; User: Norm
The normal meanings:
To adjust is to change the current value by some amount.
Adjust 10 by +5 gives 15
To set means to change the value to a new value.
Set 10 to 5 gives 5
Check the code to...
When I execute the code I get this:
The name of myBalloon is Spider-Man and has an altitude of 100
The name of alsoMyBalloon is The Green-Goblin and has an altitude of 0
Spider-Man's new altitude...
Are you asking what the adjustAltitude() method does? It is Hard to say without seeing its code.
Where is the definition for the Balloon class with the method that is being debugged?
Please edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve...