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
C Programming roadmap
2 Votes
[off-topic]Where is Result??
1 Votes
Messages
1 Votes
Cpp
1 Votes
Adding two numbers
1 Votes