+ 1

Java problem đŸ˜€

Hi new in this business so be soft whit me I have an output problem help me please https://code.sololearn.com/cYrnoRhUeMy9/?ref=app

15th May 2018, 6:34 PM
Aylon Brandes
Aylon Brandes - avatar
6 Answers
+ 1
change system.out.println to System.out.println
15th May 2018, 6:38 PM
Rajeeb
+ 4
ERROR:::: ..\Playground\:7: error: package system does not exist system.out.println(z); ^ 1 error ^Per the error, it's an issue with that line of code. Your problem is that you didn't capitalize 'System' namespace, so it cannot find it. Everything is case-sensitive. CHANGE TO: System.out.println(z);
15th May 2018, 6:38 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
@Nikhil Yes, that is correct. I simply misspoke. If I recall correctly, Java doesn't even use namespaces, but packages instead.
16th May 2018, 2:31 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
"S" ystem.out.println(z);
15th May 2018, 6:40 PM
Daniel (kabura)
Daniel (kabura) - avatar
+ 1
Thank you all very help me gd
15th May 2018, 6:41 PM
Aylon Brandes
Aylon Brandes - avatar
0
Fata1 Err0r System is a class not a namespace.
15th May 2018, 9:30 PM
Nikhil Sharma
Nikhil Sharma - avatar