Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise #15 What can be said about a vector? a. A vector can dynamically be resized. b. Both (a) and (c) are correct answers. c.

Exercise #15 What can be said about a vector? a. A vector can dynamically be resized. b. Both (a) and (c) are correct answers. c. It can be passed by value. d. Vector is just like an Array. No differences. Exercise #16 Copy Constructor is called when: a. An object is passed By Reference as an Argument to the function. b. An object is passed By Value as an Argument to the function . c. An object is passed By Pointer as an Argument to the function. d. None of the above. Exercise #17 Which of the following statements are correct about the usage of the this keyword? a. Its a pointer used to point to virtual functions. b. Its a member function called this. c. Its a pointer that can be used only in the class it belongs to. d. Its a pointer that can be used both in the class it belongs to and outside the class as well. Exercise #18 Whats the best answer about a virtual member function? a. It must be a destructor. b. Usually intended for usage in inheritance. c. A virtual function must be a static/const function. d. A virtual function must be an abstract function.

Exercise #19 Which of the following statements is true? a. All methods of a certain class can access static data members. b. All methods of a certain class can access all members of the class. c. An object of the class can access static members. d. All answers are correct.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions