Is the "method" and the"function" are same?
Background
Today I was going through a Reddit post. I got confused about
Is the "method" & the "function" are same? If not, then what's the difference?
Even after 8 years of learning and writing code, this question has left me uncertain and confuse...
raowaqasakram.hashnode.dev2 min read
Mustafa Khan
If we write method in class with static key word it's become function? My point if a function depends on object to invoke it call method