+ 1
why using these long methods and then get output small words such as hello if we have direct court statement and small program to print this ,why we use classes,objects to do this typical small functions.
3 Answers
+ 2
to explain the porpouse of these topics....
+ 1
Those were just examples. But classes and objects allow you to do more complex things without having to re-write a ton of code.
0
i guess later when program get moe complex. then all the classes, funtion, object, remark etc are require if not no way to debug, modify, and so on.