Find the mistake in this coad | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Find the mistake in this coad

public class Program { public static void main(String[] args) { String alphabet = "abcdefghijklmnopqrstuvwxyz"; system.out.println("alphabet"); } }

3rd Jan 2023, 11:03 AM
Paradox
Paradox - avatar
1 Answer
+ 3
Hello, Maybe the error is that system does not have a capital 'S', it should be System.out.println(alphabet);
3rd Jan 2023, 12:04 PM
Hassanah
Hassanah - avatar