- 1

Why "illegal start of expression"? Java

Exercise 5.2 public class Program { public static void main(String[] args) { int beer = 64; int whisky = 23; / /рассчитайте сумму и выведите ее System.out.println(beer+whisky); } }

19th Nov 2022, 12:04 AM
Елена Горланова
Елена Горланова - avatar
1 Answer
+ 6
Елена Горланова the comment has a wrongly-placed space between the double slashes. / / --> //
19th Nov 2022, 12:14 AM
Brian
Brian - avatar