Suppose you have a class called something a) write a statement that shows the de
ID: 3552003 • Letter: S
Question
Suppose you have a class called something
a) write a statement that shows the declaration in the class something to overload the operator<<
b)write a statement that shows the declaration in the classs something to overload the operator a as a member function.
c)If class other inherits class something,
1) what can other access within something?
2) what can a client of other access within something?
d)If class other has an object of class something
1) what can other access within something?
2) what can a lient of other access within something?
Explanation / Answer
a) freind ostream& operator<<(ostream&, var &)
b) It is not clear
c 1) other can access protected and public members of something
2) client of other can access public members of simething
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.