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
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
Coding help
2 Votes
DSA doubt
1 Votes
Bridge pattern use case
0 Votes
Data structure using C
0 Votes
Recover challenge history
0 Votes