0
/ 1.0
Write a Java statement to declare an integer variable with the name hours
that has an initial value of 7.
Score: 0 / 3.0
Write a Java statement to declare an integer variable with the name hours
that has an initial value of 7.
Declare a String variable, name it student
and assign it the value "Malcolm".
What is the value of y after this code has run?
int y = 2; y = 10;