Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which of the following is true about using inheritance in software engineering? Question 1 Not yet answered Marked out of 1.00 P Flag question Select

image text in transcribed

image text in transcribed

image text in transcribed

Which of the following is true about using inheritance in software engineering? Question 1 Not yet answered Marked out of 1.00 P Flag question Select one: O a. Common attributes and behaviors should be factored out of closely related classes and placed into a base class from which the original classes can now inherit O b. It is best to create a huge class library to make it easy for a client to find the most appropriate class for his or her needs O c. The standard C++ libraries that are shipped with C++ compilers are usually enough to accomplish anything an application might need to do O d. A class produced through inheritance should be as large as possible to fully encompass all of the functionality it should offer Question 2 Which of the following statements is not true of a destructor? Not yet answered Marked out of 1.00 P Flag question Select one: O a. It performs termination housekeeping O b. It releases the object's memory O c. It's called before the system reclaims the object's memory O d. If the programmer does not explicitly provide a destructor, the compiler creates an "empty" destructor Question 3 Which of the following best describes the array name n in the declaration int n[10];? Not yet answered Marked out of 1.00 P Flag question Select one: O a.n is a constant pointer to nonconstant data b.n is a constant pointer to constant data O c. n is a nonconstant pointer to nonconstant data O d. n is a nonconstant pointer to constant data

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

Step: 3

blur-text-image

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

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

3 How supply and demand together determine market equilibrium.

Answered: 1 week ago