What types of exception can be encountered in file handling? Write a program to create a class named MOVIE with data members name and genre. If the genre of movie is comedy then write it to COMEDY.DAT and if the genre is action, write it to ACTION.DAT.
What types of exception can be encountered in file handling? Write a program to create a class named MOVIE with data…
Answer
The verified answer for this question is being prepared. Meanwhile, the chapter notes cover this topic, and you can contribute your own solution.