Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started