+ 1

java describe a person

hi i wrote a code in java and i keep getting an saying illegal start expression https://code.sololearn.com/cA1380a6a17a class MyClass { public static void main(String[ ] args) { String name ="David"; int age = 42; double score =15.9; char group = 'Z'; public static void println(name+ "is" + age + "years old"+ "and his score is" + score + "in group" + group); } }

9th Jan 2021, 6:22 PM
Jah Revelo
Jah Revelo - avatar
2 ответов
+ 3
Jah Revelo Is there (public static void println) in java?
9th Jan 2021, 6:35 PM
A͢J
A͢J - avatar
+ 2
ty so much it is System.out.println i didnt notice
9th Jan 2021, 6:47 PM
Jah Revelo
Jah Revelo - avatar