+ 1

Почему код не работает? Why doesn't code work?

public class Program { public static void main(String[] args) { int t=6; System.out.printIn (t); } }

13th Feb 2018, 7:59 AM
Merer
Merer - avatar
3 Réponses
+ 4
You sould not use capital l in println. I copied your code and saw that you were using capital l in println.
13th Feb 2018, 8:10 AM
Sad
Sad - avatar
+ 2
Thank you all very much Спасибо всем большое)))
13th Feb 2018, 9:54 AM
Merer
Merer - avatar
+ 1
Опечатка в названии метода. В слове "println" предпоследняя буква должна быть строчная "l" ("L"), а не заглавная "I" ("i"). You have misprinted the method name "println". The last letter but one should be the lower-case "l" ("L"), not the upper-case "I" ("i"). System.out.println (t);
13th Feb 2018, 8:30 AM
Aleksandr