Java Program to append content into a file.1 min read

Output:

Open the file that will be created in the same directory after execution.
javaCode.txt

Welcome to Simple2Code.