CS304 GDB Solution 2023

Views: 1

CS304 GDB Solution 2023. Dear students join my telegram group for all assignments, GDBs and Quizzes Solutions. Thanks Join this https://t.me/VUALLINONE

CS304 GDB Solution 2023. CS304 – Object Oriented Programming. Course Announcement. CS304-Graded Discussion Board. . Graded Discussion Board (GDB) will be launched  and it will closed.

GDB Scenario: 
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.


GDB Question: 
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! CS304 GDB Solution Spring 2023

CS304 GDB Solution 2023


Leave a Comment