Complete the code to declare an integer variable named 'age' with value 25.
int [1] = 25;
The variable name 'age' is used to store the value 25.
Complete the code to print the value of the variable 'score'.
System.out.println([1]);To print the value stored in the variable, use its name without quotes.
Fix the error in the code by completing the variable declaration correctly.
double [1] = 9.99;
The variable name 'price' is needed to store the value 9.99.
Fill both blanks to declare a String variable 'name' and assign it the value "Alice".
String [1] = [2];
The variable 'name' stores the text "Alice" as a String.
Fill all three blanks to declare an integer variable 'count', assign 10, and print it.
int [1] = [2]; System.out.println([3]);
Declare 'count' as int with 10, then print 'count' to show the value.
