Please tell me if i made a mistake or something cause the system keeps on telling me that i made a mistake. Code in the descript | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Please tell me if i made a mistake or something cause the system keeps on telling me that i made a mistake. Code in the descript

public class Program { public static void main(String[] args) { char x= manas; char y= laud; System.out.println (x+y); } }

19th Dec 2017, 2:36 PM
Manas Laud
Manas Laud - avatar
1 Respuesta
+ 3
If it is java, char can hold one character. Why not make it strings.
19th Dec 2017, 2:49 PM
Paul
Paul - avatar