Question: You are asked to create an abstract class named User with attributes of id, name and address. This class should permit to be written in
You are asked to create an abstract class named User with attributes of id, name and address. This class should permit to be written in a binary file named usr.bin and the child classes should implement the toString() method. At the same time, you should write the code of another class named UsrRW with the proper methods to write and read the Person type objects from the given binary file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
