Question: Create a file in Java which can read comma-separated values in a text file, automatically capitalize the first letter of each entry, and output them
Create a file in Java which can read comma-separated values in a text file, automatically capitalize the first letter of each entry, and output them in a numbered column to a different text file? There are no limits to number of classes or functions used.
Input from 'Items.txt': Coffee, milk, Tea, kibble, Speadsheet
Output to 'Processed.txt':
1. Coffee 2. Milk 3. Tea 4. Kibble 5. Spreadsheet
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
