| S.No | Particulars | Funciton | Methods |
|---|---|---|---|
| 1 | independent existence | they can be defined outside of the class | they are always defined with in class |
| 2 | languages | Structure languages | object oriented languages |
| 3 | independently | called independently. | called using instance or object. |
| 4 | Functions are self describing unit of code. | Methods are used to manipuate instance variable of a class |
No comments:
Post a Comment