Search Results

Searching for: multi

Individual Exercises

0 / 10

What type of error found on line 3?

public static int minVal(int[] y, int first, int last) { int bestSoFar = y[first]; // line 1 for (int...
0 / 10

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

int donuts = 6; donuts = donuts + 3; donuts = donuts * donuts; 
0 / 10

What value is stored in myInt after casting happens during the assignment in the second line of code.

double myDouble = 9.55; int myInt =...
0 / 10

What value is stored in myDouble after casting happens during the assignment in the second line of code?

int myInt = 9; double myDouble =...