7.2k views
0 votes
Assume you have a data definition class called Account. You wish to create a specific type of account, called MoneyMarketAccount. Write the first line of code that will declare the MoneyMarketAccount class.

User Yan Q
by
4.3k points

1 Answer

5 votes

Answer:

It depends on the code that has to be used, but in general C++ and python are shown below.

Step-by-step explanation:

for a .cpp code we have:

class MoneyMarketAccount: public Account

in a .py code in the console, the following part has to be added

class MoneyMarketAccount(Account)

User Jeff Shannon
by
3.9k points