+ 4

METHODES Vs CLASSES

I programmed a view programs and I never had the need to use classes so far .. so why should I use them seriously?

12th Apr 2017, 1:30 PM
Moersy
Moersy - avatar
3 Answers
+ 3
is this the only reason? btw. I checked your link
12th Apr 2017, 2:29 PM
Moersy
Moersy - avatar
0
Classes(blue print of Object) are used in OOP.Methods are still use in OOP as well. I think what u have been doing so far is creating methods and call them in main. But from OOP we can create (simulate) more advanced data types(Person, Vehicle, Account,etc) more than existing int,string, list,etc. Simply OOP used to simulate real world inside computer. I think u get more scene abt OOP if u take C# course or read abt OOP in the internet.
12th Apr 2017, 2:59 PM
Eranga
Eranga - avatar
- 1
Classes comes to the picture with OOP(Object Oriented Programing). Check below post. https://www.sololearn.com/discuss/290292/?ref=app
12th Apr 2017, 1:45 PM
Eranga
Eranga - avatar