Hello everyone.
I have one question, a task. I hope it is by the rules of the forum. If it is not, let the admins erase it. I'm a beginner.
I have a task:
I do not know how to begin to solve the task. And how to get started to write the code?! Any kind of help is welcome. Thank you.
I have one question, a task. I hope it is by the rules of the forum. If it is not, let the admins erase it. I'm a beginner.
I have a task:
Task 1. There are two types of IndividualAccount and CorporateAccount accounts.
IndividualAccount has the following features:
1. AccountNumber,
2. Code,
3. Flags (IsBuyPrevented, IsSellPrevented, IsWithdrawalPrevented),
4. AccountStateType (Open, Closed, Locked)
5. User (FirstName, LastName, Address (City, Country, PostalCode, Street)).
CorporateAccount has the following features:
1. AccountNumber,
2. Code,
3. Flags (IsBuyPrevented, IsSellPrevented, IsWithdrawalPrevented),
4. AccountStateType (Open, Closed, Locked)
5. CorporateLegalName
6. AuthorizeAgent (is the User class with the same characteristics as the IndividualAccount)
7. Phone
Create the above class that describes the previous scenario. When creating, use an abstract class where it is possible.
I do not know how to begin to solve the task. And how to get started to write the code?! Any kind of help is welcome. Thank you.