Sencillo: iniciar variables a=a+b
Publicado por JJ (45 intervenciones) el 07/02/2002 19:47:45
Estoy tratando de concatenar (juntar, unir) 2 variables String, pero me marca error, esto es lo q trato de hacer:
String a=a+b (cuando b es un String tambien)
y me marka q no se puede inicializar por si sola:
"variable a might not have been initialized"
¿Qué pasa?
Gracias
JJ
String a=a+b (cuando b es un String tambien)
y me marka q no se puede inicializar por si sola:
"variable a might not have been initialized"
¿Qué pasa?
Gracias
JJ
Valora esta pregunta


0