Question: Write code that: 1. declares an array of Record type. The array must be capable of storing 3 (three) elements. 2. reads the content

Write code that: 1. declares an array of Record type. The array must be capable of storing 3 (three) elements. 2. reads the content of the f.txt file line by line. 3. splits each line into fields (name and email) using the ";" character as a delimiter. 4. creates objects of the Record type using the split values from each line and assigns created objects to the arra elements. 5. displays the content of the created objects. Use a loop to iterate through array elements. hp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
