Q&A Discussions
Can i write a function outside an object and associate it with multiple different objects sharing some common property upon which the function operates (turning it to a method for all these objects)? If not , whats the use of defining a method outside the object and assigning it to an object property?
4 Votes
4 AnswersHot today
I am beginner
1 Votes
Account activatio
3 Votes
Pointers Confusion
2 Votes
Project
2 Votes
Please I need your help
0 Votes