Welcome! Log In Create A New Profile

Advanced

CAN ANYONE EXPLAIN THIS PLEASE??

Posted by African Boy 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
CAN ANYONE EXPLAIN THIS PLEASE??
September 08, 2007 11:32AM
On display 10.5, (Walter Savitch Sixth Edition), member functions like (get_balance) and (get_rate) seem to do nothing on this program. I commented them out and ran the program still works fine!!
Can Anyone explain this please??

Thanks
Anonymous User
Re: CAN ANYONE EXPLAIN THIS PLEASE??
September 18, 2007 09:02AM
In the main function, the member functions get_balance and get_rate were not used, therefore you don't see the need for it. However, it does not mean that these functions are not necessary - it just means - they were not utilized by the client program. Note, objects are designed to be reusable, perphaps in another context, the user of the object may want to invoke these functions.

Regards,
Re: CAN ANYONE EXPLAIN THIS PLEASE??
September 18, 2007 10:54AM
Thanks bro. Got it
Sorry, only registered users may post in this forum.

Click here to login