Write a java code to print "David" with each letter written in consecutive lines | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a java code to print "David" with each letter written in consecutive lines

6th Jun 2017, 3:40 PM
Gautham Kamath K
Gautham Kamath K - avatar
3 Answers
+ 9
System.out.println("D\na\nv\ni\nd");
6th Jun 2017, 4:49 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
guys how do I extract letters? please reply
6th Jun 2017, 4:40 PM
Gautham Kamath K
Gautham Kamath K - avatar
0
thanks
11th Jun 2017, 1:10 PM
Gautham Kamath K
Gautham Kamath K - avatar