help

how to create to text files in java and also concatenate text files

You should google it...

A sample I google for read/write file is here.

To concatenate files, the easiest way is to read the whole content of one file to your class variable and read the other to concatenate the already read content in your class variable, and then write the whole content of the class variable to a file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.