X614: Variable Value

What is the value of variable donuts after the following code executes?

int donuts = 6;
donuts = donuts + 3;
donuts = donuts * donuts;

Your Answer:

Select one answer:


Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.