#include
using namespace std;
The class Stock
{
Private:
String _company.
Long _share;
Double _val.
};
Int main ()
{Stock food=Stock (" hello ", 12,20.5);
return 0; }
CodePudding user response:
The default constructor is no parameters, you have to write a constructor with three parameters CodePudding user response: