+ 2
What is the difference between Methods , Class and objects?
6 ответов
+ 1
Humans are a class (think of it as a category), Deepika pandit is an object of that class. Since, you are an instance of human class, you also have all the common attribute of human class and their functions (what they can do. method like run, read, program ). You got it?
+ 8
Object:
-Object is an instance of a class.
-Object is a physical entity.
Class:
-Class is a blueprint or template from which objects are created.
-Class is a logical entity.
Method:
-A function that express the behaviour of an object.
-Method depend on the class.
+ 1
All three terms Method Class and objects are different different things and its not possible to explain in few words it will be better if you will search on Google you can get lots of tutorials and website where you can understood concepts better with examples.
0
Amazed at how ppl are answering something this simple that can be googled and have thousands of videos and articles on it . Maybe if op had put the effort into describing what actually they can't understand , an answer would make some sense .
But i guess since it's a beginner platform , these type of questions must be ok !!