0
what is the missed?
public class Program { public static void main(String[] args) { //declare variables String name = "Howard"; /* declare the age int age = 42; */ //output values //System.out.println(name+" is "+age+" years old."); } }
1 Answer
+ 3
What does the error message say? Read it.
"age" is not declared. The output is commented. Check the commented sections of the code.