Dear students join my telegram group for all assignments, GDBs and Quizzes Solutions. Thanks Join this https://t.me/VUALLINONE
cs304 gdb solution 2021. CS304 – Object Oriented Programming. Course Announcement. CS304-Graded Discussion Board. Dated:Feb 08, 21. Dear Students. Graded Discussion Board (GDB) will be launched on Monday, February 15, 2021 and it will close on Tuesday, February 16, 2021.
ATM (Automated Teller Machine) machines are electronic outlets that allow customers to do their basic transactions without interaction of bank’s representative. While programming this ATM in C++,
We have created a class named CUSTOMER which stores customer data (i.e. name, NIC, age, address, account balance and transaction history etc.). There is a friend function that wants to access some private information of the class.
Being a C++ developer, analyze the whole scenario, what do you think “Does a friend function contradict the rules of Encapsulation?”
Give your opinion in yes or no with strong reasons.
A concise, coherent and to the point answer is preferred over lengthy comment having irrelevant details.
Answers, posted on regular Lesson”s MDB or sent through email will NOT be considered in any case. Best of Luck!