CodeWorkout Exercise - Types & Data

Score: 0 / 8.0

Please complete the following exercises about Types & Data.


Exercises

0 / 1.0

Write a function in Java that implements the following logic: Given a string name, e.g. "Bob", return a greeting of the form "Hello...

0 / 1.0

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

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