I am trying to concatenate strings in Java. Why isn\'t this working?
public class StackOverflowTest { public static void main(String args[]) {
For exact concatenation operation of two string please use:
file_names = file_names.concat(file_names1);
In your case use + instead of .
+
.