0

Need help to solve this

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."); } }

25th Nov 2022, 10:18 PM
Katisa
Katisa - avatar
3 Answers
+ 1
int age = 42 and System.out.println... are in comment and compiler ignore comments. You need remove the comment symbols
25th Nov 2022, 10:52 PM
Giannis
Giannis - avatar
0
Rack you So much
26th Nov 2022, 8:45 PM
Katisa
Katisa - avatar
0
Let me see the full codes
13th Dec 2022, 8:29 PM
Luffy Monkey
Luffy Monkey - avatar