General information
Category:
Object Oriented Programming
Title:
Passing parameters to objects.
We are having trouble passing parameters to an object.
Then intention is to encapsulate the functionality of the object by not allowing the user to change the properties directly.
I've been thinking about usin the Access and Assing methods to control wich properties and what values do I allow the external program to change and when to let them change it, depending on the current conditions of the object.
Some of the goals that we are trying to achieve are,
ability to alter all inputs.
Ease in standard usage.
Encapsulation.
Flexibility and maintenance. (For instance if I wan't to send parameters to a method and at some point I do not need one of them, I don't have to receive that parameter anymore)
Thanks for any help.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only