2 ms·
As an example, working in the payments business, we often model credit cards and bank accounts as different subclasses (or types) of a common superclass, given
by Cieplak 9y ago
As an example, working in the payments business, we often model credit cards and bank accounts as different subclasses (or types) of a common superclass, given that these objects share a lot of semantics, i.e., they both send and receive payments.