Which of the following shown the correct way to define the d
Which of the following shown the correct way to define the default constructor for Card that assigns the empty string to both face and type and 0 to value by calling the overloaded constructor. Card() {Card(\"\\0\", \"\\0\", 0);} Card(): Card(\"\\0\", \"\\0\", 0) {} Card(): this(\"\\0\", \"\\0\", 0) {} Card() {this(\"\\0\", \" \\0\", 0);} For the Card class, which of the following is a general set accessor method definition for its value field. void set Value() {return value;} int set Value(int value) {this rightarrow value = value;} void set Value(int value) {value = value;} void set Value(int value) {this rightarrow value = value:} Which catch statement catches a constant character array and re-throws it. catch(char[]) {throw;} catch(const char*) {throw.} catch (const char*) {rethrow;} catch(const char[]) {rethrow;} ___classes are created to avoid creating multiple classes with the same types of methods, but different field data types for some of the fields Generic Base Composite Derived For the SharedSet class, which of the following is the correct header for an overloaded indexer for data that only allows reading. double operator[](int); doublet operator[] (int); doubled& operator=(const SharedSet&); double indexer(int): For the Account class, a_____ copy is required in an overloaded assignment operator definition. public deep shallow free
Solution
5 (d) Card() { this(\"\\0\",\"\\0\",0); }
6 (d) void setValue(int value)
{ this -> value = value; }
7 (b) catch(const char*) { throw; }
8 (a) Generic Classes
9 (c) double& operator = (const SharedSet &);
10 (c) shallow
