Java Program to write char by char into a file.

Output:

Open javaCode.txt file that will be created after execution of a program

javaCode.txt

Simple2Code