+ 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.

6th Jul 2016, 12:15 AM
Karanveer Singh
Karanveer Singh - avatar
3 Antworten
+ 2
to explain the porpouse of these topics....
6th Jul 2016, 2:03 AM
Mukul Kumar
Mukul Kumar - avatar
+ 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.
6th Jul 2016, 6:14 PM
Christian Roos
Christian Roos - avatar
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.
6th Jul 2016, 5:13 AM
vunny