go to previous page   go to home page   go to next page hear noise highlighting

Answer:

Yes, since the expression involves calling two methods and also uses an assignment operator.


Buying a Car with Cash

Your Dream Car.

You would like to buy a $25,000 red Miata sports car. To pay for the car you need either enough cash or enough credit.

Let us ignore the possibility of combining cash and credit.


QUESTION 14:

You found $34,951 in your cookie jar. Can you buy the $25,000 Miata?


go to previous page   go to home page   go to next page