Question: How many constructors are there in the following class declaration? class CashRegister public: CashRegister); CashRegister(int count); void set_item_count(int count); void view() const; private: 1: CashRegister::CashRegister()

How many constructors are there in the following class declaration? class CashRegister public: CashRegister); CashRegister(int count); void set_item_count(int count); void view() const; private: 1: CashRegister::CashRegister() set_item_count (e); int item_count; CashRegister::CashRegister (int count) set item_count(count); 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
