Question: 7. The general syntax for declaring a class object that invokes the default constructor is A. class Name classObject.new; B. className ObjectName C. className classObjectName;
7. The general syntax for declaring a class object that invokes the default constructor is A. class Name classObject.new; B. className ObjectName C. className classObjectName; D. classObjectName className; 8. You can initialize a pointer variable by setting it to, A. EMPTY B. NULL C. INIT D. NONE - 9. The statement A. int [5] list; B. int list[5]; C. int list[l: D. int list-(0,1,2,3,4,5; declares list to be an array of five integers 10. To determine whether the item to be inserted is already in the list, the insert function calls member function the A. isEmpty B. size C. seqSearch D. copy 11. is the ability to use the same expression to denote different operations A. Overloading operators B. Polymorphism C. Inheritance D. Encapsulation 12. The destructor automatically executes when the class object goes out of A. scope B. use C. bounds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
