New course! Every coder should learn Generative AI!
Try a free lesson0
What's the difference between function and methods? What is meant by an object here?
3 Answers
+ 2
Himanshu Priyadarshi
function and methods both are same things. In Java we say method, in JavaScript, python we say function.
Both behave same.
+ 1
Thanks a lot😊