(SOLVED) Can't figure out what I'm doing wrong | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

(SOLVED) Can't figure out what I'm doing wrong

I've tried this code several times. I'm brand new at coding and I don't understand what I'm missing here. public class Program { public static void main(String[] args) { String alphabet = "abcdefghijklmnopqrstuvwxyz"; System.out.printIn(alphabet); } }

21st Apr 2023, 12:22 PM
Charlie Thompson
Charlie Thompson - avatar
8 Réponses
+ 9
It looks fine to me. Is it a lower case L you have in println or an upper case i? If you can put that code into a codebit in the code playground and attach that here, we can check it more thoroughly.
21st Apr 2023, 12:37 PM
Ausgrindtube
Ausgrindtube - avatar
+ 9
System.out.println(alphabet); // it was I (as Inga) not l (as Lamp) // you have to read the system errors
21st Apr 2023, 1:11 PM
JaScript
JaScript - avatar
+ 6
I S , the post you have done here has not relation to the initial post. > this could be seen as spam. it would be better if you start your own question.
23rd Apr 2023, 2:01 PM
Lothar
Lothar - avatar
+ 3
I added it. Thank you so much for your help.
21st Apr 2023, 12:39 PM
Charlie Thompson
Charlie Thompson - avatar
+ 3
Thank you so much!
21st Apr 2023, 1:33 PM
Charlie Thompson
Charlie Thompson - avatar
21st Apr 2023, 12:39 PM
Charlie Thompson
Charlie Thompson - avatar
0
You need to write println instead of printIn There is a usage of I instead of l.. So the error is occured..
21st Apr 2023, 7:41 PM
RAMETI SIVAMANI
0
You send a code in that capital 'I' is there instead of that please use use this public class Program { public static void main(String[] args) { String alphabet = "abcdefghijklmnopqrstuvwxyz"; System.out.println(alphabet); } }
22nd Apr 2023, 7:19 AM
Kailash Yandrapu