What is difference between object and function

What is difference between object and function

What is difference between object and function |There is a great difference between these two but they are mostly correlated to each other and function are normally dependent on object  as the term of function applies where you can set parameters and attributes to some object and they would reside in the specified object and outside of object and can be declared public or private or protected that depends !.

And we can call them anywhere in our programme as per its access but when you go to object object always has a place in a class and it is normally has a function or more as per definition says that if an object exists in a class what kind of role it is performing there minor or major that depends on the situation  and object relationship with function we cannot deny it as per in a class some objects has more value than other and some has less value than itself . what role that object is supposed to be performing that depends on the situation . There we can also extract two more terms as function oriented programming and object oriented  programming when they are two ; two ignite the programming the idea of oop(object oriented progamming ) really helped us a lot for adapting a fast and robust way to programming and we cannot achieve oop way unless we are there in function oriented programming that ‘s nice idea we are adopting today .

In short, we can adapt many methodologies for programming as function oriented way or object oriented way function oriented way is now evolving itself and becoming a part of object oriented  programming.

READ ABOUT HOW MANY STATES IN AJAX