0

Output the value of the variable

Storing Characters public class Program { public static void main(String[] args) { String alphabet = "abcdefghijklmnopqrstuvwxyz"; } }

22nd Dec 2022, 7:00 PM
Jonathan Theledi
8 Réponses
+ 4
System.out.println(alphabet) ; // use it // ln means line, use l ( l stands for line) (not In , where I stands for Ice)
22nd Dec 2022, 7:39 PM
Jayakrishna 🇮🇳
+ 2
You can use System.out.println() to output the value
22nd Dec 2022, 7:07 PM
Lisa
Lisa - avatar
+ 2
I used System.out.printIn(alphabet); But it keeps saying there's no output, I'm confused.
22nd Dec 2022, 7:11 PM
Jonathan Theledi
+ 2
Could you please link your complete code, so I can check on it?
22nd Dec 2022, 7:12 PM
Lisa
Lisa - avatar
22nd Dec 2022, 7:34 PM
Jonathan Theledi
+ 1
Jonathan Theledi you have used printin instead of println. You don't have to use i , use l ( l for lounge).
23rd Dec 2022, 7:54 AM
Sanya Sanskriti
Sanya Sanskriti - avatar
0
System.out.println (alphabet); This You can use my Friend.
24th Dec 2022, 12:55 PM
Blas Pires Riq
Blas Pires Riq - avatar
0
You can use the code of output : System.out.println() , with it you can print anywhere output and in () you Write the name of tha variable where you save the dates, in this case, the letters of alphabet, i hope did you help my friend!
24th Dec 2022, 1:56 PM
Arfe5718