Forum Stats

  • 3,750,225 Users
  • 2,250,135 Discussions
  • 7,866,838 Comments

Discussions

convert characters while writing into outputfile

Gayathri Venugopal
Gayathri Venugopal Member Posts: 108
edited Jan 27, 2019 3:50PM in Java User Groups Discussions

Hello, I have an input_filename which says hello world. In the output file named output_filename, I have to read the input_filename and convert those exact words as upper case.eg: output file name contains HELLO WORLD. Please tell me how do I do that. PS : my code logic is different ,I am just asking this as an example to know, how do I read from a file and convert characters and then write it to output_filename.

Answers