Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Being a friend function of a class. it can D A Access both private and public data members, B) Access neither private nor public

Programming
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Being a friend function of a class. it can D A Access both private and public data members, B) Access neither private nor public data members. c) only access the private data members: 7. D) Only access the public data members, For class. class Time private: public: Time operator (double mul) const; When we have two objects Time A, B; double value; which of the following expression is true B) B*A; A) value B C) A*B; D A value; oran 8. With class Orange: public Fruit, i.e. Fruit is the base class, an object of type Orange and to delete an object type Orange of constructor and destructor are called respectively? Fruit; A) Constructor Fruit, orange, destructor orange, Fruit; B) orange, Fruit, destructor orange, Constructor destructor Fruit, Orange. Fruit, Orange, Fruit, Orange

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

6. Discuss the steps involved in conducting a task analysis.

Answered: 1 week ago

Question

8. Explain competency models and the process used to develop them.

Answered: 1 week ago