I want to make a code wich reads from the keyboard a character and that character i want to add it to a string variable
Example
char c = sc.next().charAt(0);
String l = "";
[my character from keyboard beeing now in "c" and "l" beeing empty]
How can i make "l" to add to it's value the character from "c"
I want to make that "l" to stock all the char introduced so it needs to concatenate "l" with "c"...