Public Class Account Private m_balance As Double Private m_accountNumber As String
Child Class 1:
Public Class Checking Inherits Account Private m_accountType As Char
Child Class 2:
Public Class Savings Inherits Account Private m_accountType As Char
I am given the data to load for the above classes in the following format:
[Account #, Checking Initial Balance, Savings Initial Balance]
Is it possible to create a list that would contain both the Checking balance and the Savings balance since they are separate classes? Would it be a list of the base class only?