198k views
2 votes
Using C++.

Objects of the Calculator class require no additional information when created. Define an object named calc, of type Calculator.

1 Answer

4 votes
Alright -

So, we're going to create an object of type Calculator, with no additional information (which would be passed in the form of parameters).

We would do this by saying:

Calculator calc;

Hopefully, this helps you! =)
User Richardtallent
by
7.7k points